[Intel-gfx] [PATCH 0/2] drm/i915: initialize backlight pwm frequency from vbt if needed

Jani Nikula jani.nikula at intel.com
Tue Jan 7 17:01:32 CET 2014


Per inquiries from Vathsala et al, here's some early code for
initializing the backlight PWM from VBT if it hasn't been initialized by
the BIOS. I didn't have the chance to test this at all yet, just wanted
to unblock others. Testing and comments welcome. Particularly the
frequency in Hz to PWM register value conversions need eyeballs.

BR,
Jani.


Jani Nikula (2):
  drm/i915: move intel_hrawclk() to intel_display.c
  drm/i915: initialize backlight max from vbt

 drivers/gpu/drm/i915/i915_reg.h      |    1 +
 drivers/gpu/drm/i915/intel_display.c |   33 ++++++
 drivers/gpu/drm/i915/intel_dp.c      |   34 ------
 drivers/gpu/drm/i915/intel_drv.h     |    1 +
 drivers/gpu/drm/i915/intel_panel.c   |  197 +++++++++++++++++++++++++++++-----
 5 files changed, 204 insertions(+), 62 deletions(-)

-- 
1.7.10.4




More information about the Intel-gfx mailing list