* Commit cfecde435dda78248d6fcdc424bed68d5db6be0b turns screen blank
@ 2010-06-04 8:00 Jeff Chua
2010-06-04 15:27 ` Nick Bowler
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Chua @ 2010-06-04 8:00 UTC (permalink / raw)
To: Carl Worth, Eric Anholt, Linus Torvalds, Linux Kernel
The following commit causes screen to become blank. Upon boot up, screen
becomes blank (monitor can't sync to pc) with i915 compiled in the
kernel. With i915 as module, system boots up fine, but becomes blank as
soon as the module is loaded.
Reverting it solves the problem. Problem only happens only Dell Optiplex
780 with external LCD. But, works fine on Lenovo X201s internal LCD.
Thanks,
Jeff
commit cfecde435dda78248d6fcdc424bed68d5db6be0b
Author: Carl Worth <cworth@cworth.org>
Date: Thu Apr 8 23:31:57 2010 -0700
drm/i915: Don't enable pipe/plane/VCO early (wait for DPMS on).
The existing code handling the DPMS ON event is much more careful to
ensure that these registers are enabled according to strict sequencing
requirements. Enabling these early in mode_set simply defeats that.
Signed-off-by: Carl Worth <cworth@cworth.org>
Signed-off-by: Eric Anholt <eric@anholt.net>
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index 3ee68bc..243dfb8 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -3463,11 +3463,6 @@ static int intel_crtc_mode_set(struct drm_crtc *crtc,
pipeconf &= ~PIPEACONF_DOUBLE_WIDE;
}
- dspcntr |= DISPLAY_PLANE_ENABLE;
- pipeconf |= PIPEACONF_ENABLE;
- dpll |= DPLL_VCO_ENABLE;
-
-
/* Disable the panel fitter if it was on our pipe */
if (!HAS_PCH_SPLIT(dev) && intel_panel_fitter_pipe(dev) == pipe)
I915_WRITE(PFIT_CONTROL, 0);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Commit cfecde435dda78248d6fcdc424bed68d5db6be0b turns screen blank
2010-06-04 8:00 Commit cfecde435dda78248d6fcdc424bed68d5db6be0b turns screen blank Jeff Chua
@ 2010-06-04 15:27 ` Nick Bowler
2010-06-04 17:52 ` Jeff Chua
0 siblings, 1 reply; 3+ messages in thread
From: Nick Bowler @ 2010-06-04 15:27 UTC (permalink / raw)
To: Jeff Chua; +Cc: Carl Worth, Eric Anholt, Linus Torvalds, Linux Kernel
On 16:00 Fri 04 Jun , Jeff Chua wrote:
> The following commit causes screen to become blank. Upon boot up, screen
> becomes blank (monitor can't sync to pc) with i915 compiled in the
> kernel. With i915 as module, system boots up fine, but becomes blank as
> soon as the module is loaded.
>
> Reverting it solves the problem. Problem only happens only Dell Optiplex
> 780 with external LCD. But, works fine on Lenovo X201s internal LCD.
> commit cfecde435dda78248d6fcdc424bed68d5db6be0b
I imagine this is the same as the problem reported here:
http://lkml.org/lkml/2010/6/2/249
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Commit cfecde435dda78248d6fcdc424bed68d5db6be0b turns screen blank
2010-06-04 15:27 ` Nick Bowler
@ 2010-06-04 17:52 ` Jeff Chua
0 siblings, 0 replies; 3+ messages in thread
From: Jeff Chua @ 2010-06-04 17:52 UTC (permalink / raw)
To: Jeff Chua, Carl Worth, Eric Anholt, Linus Torvalds, Linux Kernel
On Fri, Jun 4, 2010 at 11:27 PM, Nick Bowler <nbowler@elliptictech.com> wrote:
> On 16:00 Fri 04 Jun , Jeff Chua wrote:
>> The following commit causes screen to become blank. Upon boot up, screen
>> becomes blank (monitor can't sync to pc) with i915 compiled in the
>> kernel. With i915 as module, system boots up fine, but becomes blank as
>> soon as the module is loaded.
>>
>> Reverting it solves the problem. Problem only happens only Dell Optiplex
>> 780 with external LCD. But, works fine on Lenovo X201s internal LCD.
>
>> commit cfecde435dda78248d6fcdc424bed68d5db6be0b
>
> I imagine this is the same as the problem reported here:
>
> http://lkml.org/lkml/2010/6/2/249
>
Nick,
That right. It's the same problem.
Thanks,
Jeff
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-06-04 17:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-04 8:00 Commit cfecde435dda78248d6fcdc424bed68d5db6be0b turns screen blank Jeff Chua
2010-06-04 15:27 ` Nick Bowler
2010-06-04 17:52 ` Jeff Chua
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®