summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/dispnv50/atom.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2018-05-08 12:39:48 +0200
committerBen Skeggs <bskeggs@redhat.com>2018-05-18 07:01:46 +0200
commitfacaed62b4cba3a6334fc1798fa8f51ea6a1962d (patch)
tree5c05fb78990e9a0b920312974c8d2ab61411b3bb /drivers/gpu/drm/nouveau/dispnv50/atom.h
parentdrm/nouveau/disp/gv100: initial support (diff)
downloadlinux-facaed62b4cba3a6334fc1798fa8f51ea6a1962d.tar.xz
linux-facaed62b4cba3a6334fc1798fa8f51ea6a1962d.zip
drm/nouveau/kms/gv100: initial support
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/dispnv50/atom.h')
-rw-r--r--drivers/gpu/drm/nouveau/dispnv50/atom.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/atom.h b/drivers/gpu/drm/nouveau/dispnv50/atom.h
index d8337e7996e8..908feb1fc60f 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/atom.h
+++ b/drivers/gpu/drm/nouveau/dispnv50/atom.h
@@ -54,6 +54,9 @@ struct nv50_head_atom {
u64 offset:40;
u8 buffer:1;
u8 mode:4;
+ u8 size:2;
+ u8 range:2;
+ u8 output_mode:2;
} olut;
struct {
@@ -77,7 +80,7 @@ struct nv50_head_atom {
u32 handle;
u64 offset:40;
u8 layout:2;
- u8 format:1;
+ u8 format:8;
} curs;
struct {
@@ -166,6 +169,9 @@ struct nv50_wndw_atom {
u8 buffer:1;
u8 enable:2;
u8 mode:4;
+ u8 size:2;
+ u8 range:2;
+ u8 output_mode:2;
} i;
} xlut;