public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* How to work around zero-initialized BLC_PWM_PCH_CTL2?
@ 2013-08-29  8:29 Takashi Iwai
  2013-08-29 11:58 ` Jani Nikula
  0 siblings, 1 reply; 3+ messages in thread
From: Takashi Iwai @ 2013-08-29  8:29 UTC (permalink / raw)
  To: intel-gfx

Hi,

a new laptop model we've been struggling has some strange hardware
configuration.  BIOS turns off backlight and skips its initialization
when the machine is booted with the lid closed.  This leaves
BLC_PWM_PCH_CTL2 and other registers uninitialized.  Because a proper
max brightness value can't be obtained from this register, i915 driver
doesn't create the own backlight control any more.  It results in the
permanent blank screen even after the lid is opened.

Actually, the only missing piece is the initial BLC_PWM_PCH_CTL2
value.  If I overwrite it via intel_reg_write before loading i915
module, everything works fine.

Now I wonder whether we can get this max brightness value from
somewhere else.  Is it defined in VBT or anywhere else persistent?


thanks,

Takashi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-30 10:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-29  8:29 How to work around zero-initialized BLC_PWM_PCH_CTL2? Takashi Iwai
2013-08-29 11:58 ` Jani Nikula
2013-08-30 10:05   ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox