commit | 4366f3b5f5a971cf348c298716b2cb29aab6ef4f | [log] [tgz] |
---|---|---|
author | Mario Kleiner <mario.kleiner.de@gmail.com> | Sat Jun 07 03:38:11 2014 +0200 |
committer | Alex Deucher <alexander.deucher@amd.com> | Fri Jun 13 12:22:30 2014 -0400 |
tree | 84b5d4c51f934f314de9f2700359a6d6686e91d2 | |
parent | 8bae42769da2346f7b3c783980f038826e09e84c [diff] |
drm/radeon: Bypass hw lut's for > 8 bpc framebuffer scanout. The hardware lut's only have 256 slots for indexing by a 8 bpc framebuffer. In 10 bpc scanout modes, framebuffer color values would get truncated to their 8 msb's, thereby losing the extra precision afforded by a 10 bpc framebuffer. To retain full precision, bypass the hw lut in 10 bpc scanout mode. Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>