summaryrefslogtreecommitdiffstats
path: root/Documentation/video-output.txt
diff options
context:
space:
mode:
authorAaron Lu2013-08-02 03:16:03 +0200
committerDaniel Vetter2013-08-07 11:57:08 +0200
commit22505b82a2800bddb67908522833bef96dd15845 (patch)
tree40de131f1ed5a141107afccfaf2ab7a6db0ba535 /Documentation/video-output.txt
parentdrm/i915: update last_vblank when disabling the power well (diff)
downloadkernel-qcow2-linux-22505b82a2800bddb67908522833bef96dd15845.tar.gz
kernel-qcow2-linux-22505b82a2800bddb67908522833bef96dd15845.tar.xz
kernel-qcow2-linux-22505b82a2800bddb67908522833bef96dd15845.zip
drm/i915: avoid brightness overflow when doing scale
Some card's max brightness level is pretty large, e.g. on Acer Aspire 4732Z, the max level is 989910. If user space set a large enough level then the current scale done in intel_panel_set_backlight will cause an integer overflow and the scaled level will be mistakenly small, leaving user with an almost black screen. This patch fixes this problem. Signed-off-by: Aaron Lu <aaron.lu@intel.com> [danvet: Add a comment to explain what's going on.] Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'Documentation/video-output.txt')
0 files changed, 0 insertions, 0 deletions