summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/dispnv50/base917c.c
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2019-05-27 22:58:37 -0400
committerBen Skeggs <bskeggs@redhat.com>2019-08-23 12:55:31 +1000
commit38a72243235ecf2c1359ce66ebed29a7dfb680f7 (patch)
tree7057e5e19d486dc480db4572e5fd127ec8642c2a /drivers/gpu/drm/nouveau/dispnv50/base917c.c
parentebf8ca6b3d6d7310646b092f3d5219abe2858e81 (diff)
downloadtalos-op-linux-38a72243235ecf2c1359ce66ebed29a7dfb680f7.tar.gz
talos-op-linux-38a72243235ecf2c1359ce66ebed29a7dfb680f7.zip
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>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/base917c.c')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv50/base917c.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/base917c.c b/drivers/gpu/drm/nouveau/dispnv50/base917c.c
index 54d705bb81a5..a1baed4fe0e9 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/base917c.c
+++ b/drivers/gpu/drm/nouveau/dispnv50/base917c.c
@@ -36,6 +36,8 @@ base917c_format[] = {
DRM_FORMAT_ABGR8888,
DRM_FORMAT_XRGB2101010,
DRM_FORMAT_ARGB2101010,
+ DRM_FORMAT_XBGR16161616F,
+ DRM_FORMAT_ABGR16161616F,
0
};
OpenPOWER on IntegriCloud