summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/dispnv50/atom.h
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2018-05-08 13:39:47 +0300
committerBen Skeggs <bskeggs@redhat.com>2018-05-18 08:01:29 +0300
commit261fcfa96991d6652b061262c1879cc0bdd1aa3a (patch)
treed74b8379e6a8b1a70cc04764eb5bad33a3257482 /drivers/gpu/drm/nouveau/dispnv50/atom.h
parent43c181e9deb5f4215d4ef0cb227fde509da7cc5e (diff)
downloadlinux-261fcfa96991d6652b061262c1879cc0bdd1aa3a.tar.xz
drm/nouveau/kms/nv50-: extend window image data for stereo/planar formats
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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/nouveau/dispnv50/atom.h b/drivers/gpu/drm/nouveau/dispnv50/atom.h
index 8bf180666bb7..53638ee83361 100644
--- a/drivers/gpu/drm/nouveau/dispnv50/atom.h
+++ b/drivers/gpu/drm/nouveau/dispnv50/atom.h
@@ -162,12 +162,12 @@ struct nv50_wndw_atom {
u8 kind:7;
u8 layout:1;
u8 block:4;
- u32 pitch:20;
+ u32 pitch[3];
u16 w;
u16 h;
- u32 handle;
- u64 offset;
+ u32 handle[6];
+ u64 offset[6];
} image;
struct {