drm/qxl: Simplify cleaning qxl processing command
authorFrediano Ziglio <fziglio@redhat.com>
Wed, 3 Jun 2015 11:09:18 +0000 (12:09 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 5 Jun 2015 01:00:52 +0000 (11:00 +1000)
commit74d9a6335dceb81a55821ac72daaa8f1c1554a83
tree0d3aedb197a2fb99ec81cc2b6fcccbe70b39c1b6
parente07154e28cb079562fcc0be6915cb7d4890fdba1
drm/qxl: Simplify cleaning qxl processing command

In qxlhw_handle_to_bo we incremented counters twice, one time for release object
and one for reloc_info.
In the main function however reloc_info references was drop much earlier than
release so keeping the pointer only on release is safe and make cleaning
process easier.

Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/qxl/qxl_ioctl.c