drm/qxl: Handle all errors in qxl_surface_evict
authorFrediano Ziglio <fziglio@redhat.com>
Wed, 3 Jun 2015 11:09:13 +0000 (12:09 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 5 Jun 2015 01:00:49 +0000 (11:00 +1000)
commitc610c7137c02eb9812b4e7871abe5b0642ff58d2
tree90b17665fe83c496efe988bcafe6cfd07bfe723e
parentfe2af53baec1b3b64ee343d4e7e6a351e52e3b48
drm/qxl: Handle all errors in qxl_surface_evict

Only EBUSY error was handled. This could cause code to believe
reserve was successful while it failed.

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_cmd.c