[Intel-gfx] [RFC PATCH 0/2] drm/i915: get backlight max from vbt

Jani Nikula jani.nikula at intel.com
Thu May 7 05:59:58 PDT 2015


Found this while cleaning up some old branches I have in my repo...

I'm posting this more as archival for posterity than as a serious
attempt to get this merged. There was a bunch of archeology involved in
figuring out the Hz to PWM modulation frequency conversion, so someone
might find that useful.

Particularly the vlv setup could use some cleanup and only falling back
to the hardcoded value if vbt is not set. And the hardcoded default
could now be expressed in Hz instead of raw pwm value. But meh until
someone really needs this.


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_drv.h      |   2 +
 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   | 160 +++++++++++++++++++++++++++++++++--
 6 files changed, 190 insertions(+), 41 deletions(-)

-- 
2.1.4



More information about the Intel-gfx mailing list