From: "Peter Hüwe" <PeterHuewe@gmx.de>
To: Jonathan Nieder <jrnieder@gmail.com>
Cc: "David Airlie" <airlied@linux.ie>,
"Ben Skeggs" <bskeggs@redhat.com>,
"Maxim Levitsky" <maximlevitsky@gmail.com>,
"Dave Airlie" <airlied@redhat.com>,
"Alex Deucher" <alexander.deucher@amd.com>,
"Jerome Glisse" <jglisse@redhat.com>,
"Christian König" <deathsimple@vodafone.de>,
"Michel Dänzer" <michel.daenzer@amd.com>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org, stable@kernel.org
Subject: Re: [PATCH 1/2] drm/nouveau: Add lock on drm_helper_resume_force_mode
Date: Sat, 14 Apr 2012 02:59:32 +0200 [thread overview]
Message-ID: <201204140259.33243.PeterHuewe@gmx.de> (raw)
In-Reply-To: <20120414005219.GG13995@burratino>
Am Samstag 14 April 2012, 02:52:19 schrieb Jonathan Nieder:
> Hi,
>
> Peter Huewe wrote:
> > mode_config should be locked when calling drm_helper_resume_force_mode.
> > This patch adds the lock, similar to #927a2f119.
>
> Does this fix a problem that has been observed in the wild, or only a
> theoretical one?
>
> Curious,
> Jonathan
Only theoretical ;)
Since all other drivers always lock around drm_helper_resume_force_mode I
guessed this is good practice.
And since problem area is quite similar to the one mentioned in #927a2f119 /
234f78a683e
http://git.kernel.org/?p=linux/kernel/git/stable/linux-
stable.git;a=commit;h=234f78a683e30d6d4628846fde4a822c0e385529
the bug might happen in the wild.
Thanks,
Peter
prev parent reply other threads:[~2012-04-14 0:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-14 0:09 [PATCH 1/2] drm/nouveau: Add lock on drm_helper_resume_force_mode Peter Huewe
2012-04-14 0:09 ` [PATCH 2/2] drm/radeon: " Peter Huewe
2012-04-14 0:52 ` [PATCH 1/2] drm/nouveau: " Jonathan Nieder
2012-04-14 0:59 ` Peter Hüwe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201204140259.33243.PeterHuewe@gmx.de \
--to=peterhuewe@gmx.de \
--cc=airlied@linux.ie \
--cc=airlied@redhat.com \
--cc=alexander.deucher@amd.com \
--cc=bskeggs@redhat.com \
--cc=deathsimple@vodafone.de \
--cc=dri-devel@lists.freedesktop.org \
--cc=jglisse@redhat.com \
--cc=jrnieder@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maximlevitsky@gmail.com \
--cc=michel.daenzer@amd.com \
--cc=stable@kernel.org \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.