diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-11-08 03:44:19 +0300 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-01-11 04:17:40 +0300 |
commit | 7568b106718165feacdf411f1b8f95ae4263456a (patch) | |
tree | 86a642ca3d60626ecd0eb5341c501db3cd1c4f0e /drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c | |
parent | 538b269bc5edb9be1dfbb1ebdc50a2dab90e98cc (diff) | |
download | linux-7568b106718165feacdf411f1b8f95ae4263456a.tar.xz |
drm/nouveau/nvif: split out display interface definitions
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c index 06fb24d88702..2aba84d51b1e 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/rootnv50.c @@ -29,6 +29,7 @@ #include <subdev/timer.h> #include <nvif/class.h> +#include <nvif/cl5070.h> #include <nvif/unpack.h> int @@ -39,7 +40,7 @@ nv50_disp_root_scanoutpos(NV50_DISP_MTHD_V0) const u32 blanks = nvkm_rd32(device, 0x610af4 + (head * 0x540)); const u32 total = nvkm_rd32(device, 0x610afc + (head * 0x540)); union { - struct nv04_disp_scanoutpos_v0 v0; + struct nv50_disp_scanoutpos_v0 v0; } *args = data; int ret; |