drm/nouveau/kms/nv50-: add fp16 scanout support
authorIlia Mirkin <imirkin@alum.mit.edu>
Tue, 28 May 2019 02:58:37 +0000 (22:58 -0400)
committerBen Skeggs <bskeggs@redhat.com>
Fri, 23 Aug 2019 02:55:31 +0000 (12:55 +1000)
commit38a72243235ecf2c1359ce66ebed29a7dfb680f7
tree7057e5e19d486dc480db4572e5fd127ec8642c2a
parentebf8ca6b3d6d7310646b092f3d5219abe2858e81
drm/nouveau/kms/nv50-: add fp16 scanout support

Older hardware seems to want 0..1024 values, while new hardware takes
0..1 values. We set the gain to 1024 for the earlier display classes.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/base507c.c
drivers/gpu/drm/nouveau/dispnv50/base827c.c
drivers/gpu/drm/nouveau/dispnv50/base917c.c
drivers/gpu/drm/nouveau/dispnv50/ovly907e.c
drivers/gpu/drm/nouveau/dispnv50/ovly917e.c
drivers/gpu/drm/nouveau/dispnv50/wndw.c
drivers/gpu/drm/nouveau/dispnv50/wndwc37e.c