Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-10-01 08:53:50 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2019-10-01 08:53:50 +0200
commit89fc93299f9c05a1961f0f820b2b6b4d6ae36bdf (patch)
tree193a9f1b65afb7b7347743d72f210ee8b23c6da6
parente87e10d4ae5c3756306c1cbf9640cd9af94dc26b (diff)
drm/mgag200: Set cursor scanout address to correct BO (bsc#1152472)
-rw-r--r--drivers/gpu/drm/mgag200/mgag200_cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/mgag200/mgag200_cursor.c b/drivers/gpu/drm/mgag200/mgag200_cursor.c
index ac3b052ba03d..42b71d12e1c2 100644
--- a/drivers/gpu/drm/mgag200/mgag200_cursor.c
+++ b/drivers/gpu/drm/mgag200/mgag200_cursor.c
@@ -111,7 +111,7 @@ int mga_crtc_cursor_set(struct drm_crtc *crtc,
"failed to kmap cursor updates: %d\n", ret);
goto err_drm_gem_vram_unpin_dst;
}
- gpu_addr = drm_gem_vram_offset(pixels_2);
+ gpu_addr = drm_gem_vram_offset(pixels_next);
if (gpu_addr < 0) {
ret = (int)gpu_addr;
dev_err(&dev->pdev->dev,