drm/i915: do not expose a dysfunctional backlight interface to userspace
authorJani Nikula <jani.nikula@intel.com>
Mon, 3 Sep 2012 13:25:12 +0000 (16:25 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 3 Sep 2012 18:42:10 +0000 (20:42 +0200)
commit28dcc2d60cb570d9f549c329b2f51400553412a1
treeec327dfe215656bd0aa84afe64967248a85ecd8c
parentfcbc50da7753b210b4442ca9abc4efbd4e481f6e
drm/i915: do not expose a dysfunctional backlight interface to userspace

Previously intel_panel_setup_backlight() would create a sysfs backlight
interface with max brightness of 1 if it was unable to figure out the max
backlight brightness. This rendered the backlight interface useless.

Do not create a dysfunctional backlight interface to begin with.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Tested-by: David Woodhouse <David.Woodhouse@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_panel.c
This page took 0.024385 seconds and 5 git commands to generate.