]> Git Repo - linux.git/commit
drm/i915: do not expose a dysfunctional backlight interface to userspace
authorJani Nikula <[email protected]>
Mon, 3 Sep 2012 13:25:12 +0000 (16:25 +0300)
committerDaniel Vetter <[email protected]>
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 <[email protected]>
Tested-by: David Woodhouse <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/intel_panel.c
This page took 0.052829 seconds and 4 git commands to generate.