aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-09-05 11:53:21 -0700
committerKeith Packard <keithp@keithp.com>2011-09-21 14:52:40 -0700
commit578393cd1e6ebe2979664f11df630126c3f348a8 (patch)
treeb4400b419662d459606616a0bf618320c1b47802 /include/drm
parent88ef4e3f4f616462b78a7838eb3ffc3818d30f67 (diff)
downloadkernel_samsung_smdk4412-578393cd1e6ebe2979664f11df630126c3f348a8.zip
kernel_samsung_smdk4412-578393cd1e6ebe2979664f11df630126c3f348a8.tar.gz
kernel_samsung_smdk4412-578393cd1e6ebe2979664f11df630126c3f348a8.tar.bz2
drm/i915: Enable dither whenever display bpc < frame buffer bpc
We want to enable dithering on any pipe where the frame buffer has more color resolution than the output device. The previous code was incorrectly clamping the frame buffer bpc to the display bpc, effectively disabling dithering all of the time as the computed frame buffer bpc would never be larger than the display bpc. Signed-off-by: Keith Packard <keithp@keithp.com> Reported-by: Oliver Hartkopp <socketcan@hartkopp.net> Tested-by: Oliver Hartkopp <socketcan@hartkopp.net>
Diffstat (limited to 'include/drm')
0 files changed, 0 insertions, 0 deletions