diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2015-11-08 10:34:50 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-01-11 11:17:40 +1000 |
commit | 538b269bc5edb9be1dfbb1ebdc50a2dab90e98cc (patch) | |
tree | 279379c3728415fc776825eda81923df1471c630 /drivers/gpu/drm/nouveau/nouveau_drm.c | |
parent | 53a6df7785c1af55e11784ec18dfa0260898453d (diff) | |
download | lwn-538b269bc5edb9be1dfbb1ebdc50a2dab90e98cc.tar.gz lwn-538b269bc5edb9be1dfbb1ebdc50a2dab90e98cc.zip |
drm/nouveau/nvif: split out nvsw interface definitons
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_drm.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_drm.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_drm.c b/drivers/gpu/drm/nouveau/nouveau_drm.c index b3a563c44bcd..e82545cde011 100644 --- a/drivers/gpu/drm/nouveau/nouveau_drm.c +++ b/drivers/gpu/drm/nouveau/nouveau_drm.c @@ -37,6 +37,8 @@ #include <core/pci.h> #include <core/tegra.h> +#include <nvif/if0004.h> + #include "nouveau_drm.h" #include "nouveau_dma.h" #include "nouveau_ttm.h" @@ -256,8 +258,8 @@ nouveau_accel_init(struct nouveau_drm *drm) } ret = nvif_notify_init(&drm->nvsw, nouveau_flip_complete, - false, NVSW_NTFY_UEVENT, NULL, 0, 0, - &drm->flip); + false, NV04_NVSW_NTFY_UEVENT, + NULL, 0, 0, &drm->flip); if (ret == 0) ret = nvif_notify_get(&drm->flip); if (ret) { |