From: Shuah Khan <shuahkhan@gmail.com>
To: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
Alexey Zaytsev <alexey.zaytsev@gmail.com>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Daniel Vetter <daniel.vetter@ffwll.ch>,
Jesse Barnes <jbarnes@virtuousgeek.org>,
Rodrigo Vivi <rodrigo.vivi@gmail.com>,
Peter Ujfalusi <peter.ujfalusi@gmail.com>,
stable <stable@vger.kernel.org>
Subject: Re: Linux 3.8-rc2
Date: Thu, 3 Jan 2013 16:56:34 -0700 [thread overview]
Message-ID: <CAKocOOOSGDp644fCEdeJ22GCOW00PVB3fedA_3O81q-1rp247Q@mail.gmail.com> (raw)
In-Reply-To: <6c3329$7ukf5e@orsmga002.jf.intel.com>
On Thu, Jan 3, 2013 at 3:45 PM, Chris Wilson <chris@chris-wilson.co.uk> wrote:
> On Thu, 3 Jan 2013 13:32:04 -0800, Linus Torvalds <torvalds@linux-foundation.org> wrote:
>> On Thu, Jan 3, 2013 at 1:09 PM, Alexey Zaytsev <alexey.zaytsev@gmail.com> wrote:
>> >
>> > i915 got broken on my machine (Lenovo ThinkPad SL500) by this -rc. The screen
>> > goes blank after loading the module. I've bisected the problem to
>> > b0a2658acb5bf9ca86b4aab011b7106de3af0add "drm/i915: don't disable
>> > disconnected outputs".
>>
>> Hmm. Daniel - should I just revert it, or do you have a patch to
>> possibly fix the divide-by-zero error in g4x_compute_wm0() (which may
>> involve not getting that deep in the call chain to begin with or
>> whatever)? Maybe that fixes the blank screen too without a revert..
>
> The issue appears to be a disagreement between intel_crtc->active, an
> attached framebuffer and there not being a valid mode set on the crtc.
>
> It looks like we end up in that situation with further confusion over
> intel_crtc->base.enabled vs intel_crtc->active. I suspect the answer is
> something like:
>
> diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
> index a9fb046..5e4b818 100644
> --- a/drivers/gpu/drm/i915/intel_display.c
> +++ b/drivers/gpu/drm/i915/intel_display.c
> @@ -7940,10 +7940,8 @@ bool intel_set_mode(struct drm_crtc *crtc,
> }
> }
>
> - for_each_intel_crtc_masked(dev, prepare_pipes, intel_crtc) {
> - if (intel_crtc->base.enabled)
> - dev_priv->display.crtc_disable(&intel_crtc->base);
> - }
> + for_each_intel_crtc_masked(dev, prepare_pipes, intel_crtc)
> + dev_priv->display.crtc_disable(&intel_crtc->base);
>
> /* crtc->mode is already used by the ->mode_set callbacks, hence we need
> * to set it here already despite that we pass it down the callchain.
>
> However, until that confusion is unravelled, reverting b0a2658ac, seems
> the most sensible approach.
> -Chris
There is a "radeon 0000:02:00.0: GPU lockup CP stall for more than
10000msec" issue that was in 3.8.-rc1 which is related to drm changes.
Reference: https://lkml.org/lkml/2013/1/2/289
Good to get that fix into 3.8-rc2.
-- Shuah
prev parent reply other threads:[~2013-01-03 23:56 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-03 3:36 Linus Torvalds
2013-01-03 21:09 ` Alexey Zaytsev
2013-01-03 21:32 ` Linus Torvalds
2013-01-03 22:06 ` Peter Ujfalusi
2013-01-03 22:45 ` Chris Wilson
2013-01-03 23:12 ` Alexey Zaytsev
2013-01-03 23:18 ` Linus Torvalds
2013-01-03 23:40 ` Alexey Zaytsev
2013-01-04 11:39 ` [PATCH] drm/i915: Treat crtc->mode.clock == 0 as disabled Chris Wilson
2013-01-04 14:58 ` Alexey Zaytsev
2013-01-06 20:56 ` Daniel Vetter
2013-01-07 10:11 ` Chris Wilson
2013-01-07 16:40 ` Daniel Vetter
2013-01-06 20:55 ` Linux 3.8-rc2 Daniel Vetter
2013-01-03 23:56 ` Shuah Khan [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=CAKocOOOSGDp644fCEdeJ22GCOW00PVB3fedA_3O81q-1rp247Q@mail.gmail.com \
--to=shuahkhan@gmail.com \
--cc=alexey.zaytsev@gmail.com \
--cc=chris@chris-wilson.co.uk \
--cc=daniel.vetter@ffwll.ch \
--cc=jbarnes@virtuousgeek.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peter.ujfalusi@gmail.com \
--cc=rodrigo.vivi@gmail.com \
--cc=stable@vger.kernel.org \
--cc=torvalds@linux-foundation.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
all inboxes | Powered by JetHome®