public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: intel-gfx@lists.freedesktop.org
Subject: How to work around zero-initialized BLC_PWM_PCH_CTL2?
Date: Thu, 29 Aug 2013 10:29:21 +0200	[thread overview]
Message-ID: <s5h38pshpcu.wl%tiwai@suse.de> (raw)

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

             reply	other threads:[~2013-08-29  8:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-29  8:29 Takashi Iwai [this message]
2013-08-29 11:58 ` How to work around zero-initialized BLC_PWM_PCH_CTL2? Jani Nikula
2013-08-30 10:05   ` Takashi Iwai

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=s5h38pshpcu.wl%tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=intel-gfx@lists.freedesktop.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