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)
commit5f3d862a736398e7068fa67142133f1713fdee8c
tree8873a6bca7b32fa8d893d50edb3b87c4a6841606
parent4ba72fc080ad44a5c1e93449ec070cd4d331803f
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: 1277eed5fecb8830c8cc414ad70c1ef640464bc0
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