OSDN Git Service

drm/qxl: unref cursor bo when finished with it
authorRay Strode <rstrode@redhat.com>
Mon, 27 Nov 2017 21:50:09 +0000 (16:50 -0500)
committerDave Airlie <airlied@redhat.com>
Fri, 8 Dec 2017 03:36:54 +0000 (13:36 +1000)
commit16c6db3688734b27487a42d0c2a1062d0b2bad03
tree96b369e76b2aa8db65426f06afbbf657e13f3823
parent3f1f0b1c57dd617e9b0ded50efb8d6c011b85b20
drm/qxl: unref cursor bo when finished with it

qxl_cursor_atomic_update allocs a bo for the cursor that
it never frees up at the end of the function.

This commit fixes that.

Signed-off-by: Ray Strode <rstrode@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_display.c