summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_dma.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2012-09-03 16:25:12 +0300
committerDaniel Vetter <daniel.vetter@ffwll.ch>2012-09-03 20:42:10 +0200
commit28dcc2d60cb570d9f549c329b2f51400553412a1 (patch)
treeec327dfe215656bd0aa84afe64967248a85ecd8c /drivers/gpu/drm/i915/i915_dma.c
parentfcbc50da7753b210b4442ca9abc4efbd4e481f6e (diff)
downloadlinux-28dcc2d60cb570d9f549c329b2f51400553412a1.tar.bz2
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>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_dma.c')
0 files changed, 0 insertions, 0 deletions