From: Chris Wilson <chris@chris-wilson.co.uk>
To: Intel Graphics Development <intel-gfx@lists.freedesktop.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>,
"the regression was Cc: stable, too" <stable@kernel.org>
Subject: Re: [PATCH] drm/i915: don't clobber the pipe param in sanitize_modesetting
Date: Sun, 13 May 2012 21:12:28 +0100 [thread overview]
Message-ID: <1336939976_9843@CP5-2952> (raw)
In-Reply-To: <1336939694-3376-1-git-send-email-daniel.vetter@ffwll.ch>
On Sun, 13 May 2012 22:08:14 +0200, Daniel Vetter <daniel.vetter@ffwll.ch> wrote:
> ... we need it later on in the function to clean up pipe <-> plane
> associations. This regression has been introduced in
>
> commit f47166d2b0001fcb752b40c5a2d4db986dfbea68
> Author: Chris Wilson <chris@chris-wilson.co.uk>
> Date: Thu Mar 22 15:00:50 2012 +0000
>
> drm/i915: Sanitize BIOS debugging bits from PIPECONF
>
> Spotted by staring at debug output of an (as it turns out) totally
> unrelated bug.
>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
> Cc: stable@kernel.org (the regression was Cc: stable, too)
> Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Note this will also explain some of the bogosity with
https://bugs.freedesktop.org/show_bug.cgi?id=49838 on dinq.
> ---
> drivers/gpu/drm/i915/intel_display.c | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index fb05d9d..525dc65 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -6257,9 +6257,10 @@ static void intel_sanitize_modesetting(struct drm_device *dev,
> {
> struct drm_i915_private *dev_priv = dev->dev_private;
> u32 reg, val;
> + int i;
>
> /* Clear any frame start delays used for debugging left by the BIOS */
> - for_each_pipe(pipe) {
> + for_each_pipe(i) {
> reg = PIPECONF(pipe);
s/pipe/i/
-Chris
--
Chris Wilson, Intel Open Source Technology Centre
next prev parent reply other threads:[~2012-05-13 20:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-13 20:08 [PATCH] drm/i915: don't clobber the pipe param in sanitize_modesetting Daniel Vetter
2012-05-13 20:12 ` Chris Wilson [this message]
2012-05-13 20:29 ` Daniel Vetter
2012-05-13 20:33 ` Chris Wilson
2012-05-19 20:47 ` Daniel Vetter
2012-05-13 23:41 ` Eugeni Dodonov
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=1336939976_9843@CP5-2952 \
--to=chris@chris-wilson.co.uk \
--cc=daniel.vetter@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=stable@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox