summaryrefslogtreecommitdiff
path: root/drm/nouveau/dispnv04
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2016-06-01 06:58:01 +1000
committerBen Skeggs <bskeggs@redhat.com>2016-06-01 06:58:01 +1000
commit0e782017dc057db6cf058eec80646bb6652c8c3a (patch)
tree38cbfbca9229625670f558aa38f263bf159a8dec /drm/nouveau/dispnv04
parent50d6aa9cfaeff4c165dfb8d0c34686a89f82ab5d (diff)
downloadnouveau-0e782017dc057db6cf058eec80646bb6652c8c3a.tar.gz
drm-next 92181d47ee74749bdf902f080dab9fa9ef44b37f
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/dispnv04')
-rw-r--r--drm/nouveau/dispnv04/crtc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drm/nouveau/dispnv04/crtc.c b/drm/nouveau/dispnv04/crtc.c
index 6d4eb5d90..6f318c54d 100644
--- a/drm/nouveau/dispnv04/crtc.c
+++ b/drm/nouveau/dispnv04/crtc.c
@@ -996,7 +996,7 @@ nv04_crtc_cursor_set(struct drm_crtc *crtc, struct drm_file *file_priv,
if (width != 64 || height != 64)
return -EINVAL;
- gem = drm_gem_object_lookup(dev, file_priv, buffer_handle);
+ gem = drm_gem_object_lookup(file_priv, buffer_handle);
if (!gem)
return -ENOENT;
cursor = nouveau_gem_object(gem);