Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-10-01 08:54:07 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2019-10-01 08:54:07 +0200
commita57ad9e08234a320901349c0b487cd9b60aa822a (patch)
tree94571f6e77e99bfccdf361acfb5ecb8d89fcb05d
parent89fc93299f9c05a1961f0f820b2b6b4d6ae36bdf (diff)
drm/mgag200: Don't unpin the current cursor image's buffer. (bsc#1152472)
-rw-r--r--drivers/gpu/drm/mgag200/mgag200_cursor.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_cursor.c b/drivers/gpu/drm/mgag200/mgag200_cursor.c
index 42b71d12e1c2..29ef932b9fb6 100644
--- a/drivers/gpu/drm/mgag200/mgag200_cursor.c
+++ b/drivers/gpu/drm/mgag200/mgag200_cursor.c
@@ -212,7 +212,6 @@ int mga_crtc_cursor_set(struct drm_crtc *crtc,
mdev->cursor.pixels_current = pixels_next;
drm_gem_vram_kunmap(pixels_next);
- drm_gem_vram_unpin(pixels_next);
drm_gem_vram_kunmap(gbo);
drm_gem_vram_unpin(gbo);
drm_gem_object_put_unlocked(obj);