iris: fix error message on I915_GEM_[GS]ET_TILING failure
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Mon, 14 Jun 2021 09:01:41 +0000 (11:01 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 15 Jun 2021 15:07:42 +0000 (15:07 +0000)
commit49c01da5899fb6fe0b01161d3d0585e6ebb6b184
treed3bdb484eae677b12609e92489b8de9bbe87ed50
parentdb5f895dab8c0d0d1cb192c75a3fff1ac13d8e7c
iris: fix error message on I915_GEM_[GS]ET_TILING failure

The first problem was noticed by Coverity (CID 1485970).

Fixes: ab49063f449 ("iris: Only use SET/GET_TILING when exporting/importing BOs")
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11357>
src/gallium/drivers/iris/iris_bufmgr.c