]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/kms/nv50: use INTERPOLATE_257_UNITY_RANGE LUT on newer chipsets
authorBen Skeggs <bskeggs@redhat.com>
Fri, 12 Jan 2018 09:02:05 +0000 (19:02 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 2 Feb 2018 05:24:07 +0000 (15:24 +1000)
commit024003f3b8981a5f96a16c09ad268ab37c0ae5c7
treeed99fa529f60191febe6312b00a566ee4226784a
parent6f02139ddd3a74fac0a807be9eb41628e107cf01
drm/nouveau/kms/nv50: use INTERPOLATE_257_UNITY_RANGE LUT on newer chipsets

For some reason forgotten by history, we've been using a 1025-entry LUT
mode, and sparsely filling it with the 256-entry LUT we're handed.

Until we land support for the full atomic colour management properties,
this commit switches to using the 257-entry mode to fix colour mapping
with depth 30 framebuffers.

Reported-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c