]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau/kms/nv50: use "low res" lut for indexed mode
authorIlia Mirkin <imirkin@alum.mit.edu>
Sun, 31 Dec 2017 04:35:28 +0000 (23:35 -0500)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 2 Feb 2018 05:24:06 +0000 (15:24 +1000)
commit6f02139ddd3a74fac0a807be9eb41628e107cf01
treecbcc8a891d92f17ff5aa1ebf9a346996fb1e9a0a
parent5a23551463b5b70b67ba3b50f244963605cda2cf
drm/nouveau/kms/nv50: use "low res" lut for indexed mode

This is what was done prior to the big refactor in kernel 3.8, and what
was done by xf86-video-nv. Experimentally, it seems like there's some
sort of issue with the high-res lut to be used there. Tested on G92.

This ends up mattering because fbcon/fbdev chooses the C8 fb format for
low-vram systems, which can occur with some IGP-based configurations
with little "stolen" vram.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80675
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nv50_display.c