]> Pileus Git - ~andy/linux/commit
drm/i915: handle backlight through chip specific functions
authorJani Nikula <jani.nikula@intel.com>
Fri, 8 Nov 2013 14:48:56 +0000 (16:48 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 12 Nov 2013 23:08:18 +0000 (00:08 +0100)
commit7bd688cd66db93f6430f6e2b3145ee5686daa315
treef75e5e8283bd9e276e065ba5b3e75fbe97b7a083
parentc91c9f32843a1b433de5a1ead4789a6bc8d3d914
drm/i915: handle backlight through chip specific functions

The backlight code has grown rather hairy, not least because the
hardware registers and bits have repeatedly been shuffled around. And
this isn't expected to get any easier with new hardware. Make things
easier for our (read: my) poor brains, and split the code up into chip
specific functions.

There should be no functional changes.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_panel.c