]> git.baikalelectronics.ru Git - kernel.git/commit
qxl: fix framebuffer unpinning
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 18 Sep 2017 07:41:45 +0000 (09:41 +0200)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 25 Sep 2017 06:35:53 +0000 (08:35 +0200)
commit2f60ea4eb4a5e18b32b85f68ce2d913ef29e2d46
tree8873a6bca7b32fa8d893d50edb3b87c4a6841606
parent6c328ac10a5bd3100dc2c283989e2c500acb648e
qxl: fix framebuffer unpinning

qxl_plane_cleanup_fb() unpins the just activated framebuffer
instead of the old one.  Oops.  Fix it.

Cc: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Fixes: 67bbb26d860042b0ff0b3647128910646b474fe1
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Gabriel Krisman Bertazi <krisman@collabora.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20170918074145.2257-1-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_display.c