drm/i915: move backlight level setting in enable/disable to hooks
authorJani Nikula <jani.nikula@intel.com>
Fri, 8 Nov 2013 14:48:59 +0000 (16:48 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 13 Nov 2013 10:19:03 +0000 (11:19 +0100)
commit3bd712e545996658f4bc6c61ff99d7bae2a8cfcf
treea98df20c0e583a406847a1bec1a938f64bee60f0
parentab51c86a88ba09ec657b1e02aa7824938afb7bd3
drm/i915: move backlight level setting in enable/disable to hooks

This allows more flexibility in the ordering of the register writes, and
lets us drop level setting altogether as necessary on a per platform
basis.

For gen2-gen3, this is the only thing that happens in enable/disable.

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/intel_panel.c