anv/device: Return the right error for failed maps
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 8 Nov 2016 01:24:24 +0000 (17:24 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 10 Nov 2016 02:17:48 +0000 (18:17 -0800)
commit920f34a2d9f14f023aee5203baa110c971519ee8
treeb3c6ea4da614997bc24afec739d7c7974b164d06
parent73ef9c8f047835d369db3646853cdb25442db8d3
anv/device: Return the right error for failed maps

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>
Cc: "12.0 13.0" <mesa-dev@lists.freedesktop.org>
src/intel/vulkan/anv_device.c
src/intel/vulkan/anv_gem.c