intel/dump_gpu: mark bo as unmapped if its address changes
authorMarcin Ślusarz <marcin.slusarz@intel.com>
Fri, 12 Feb 2021 11:44:03 +0000 (12:44 +0100)
committerMarge Bot <eric+marge@anholt.net>
Mon, 15 Feb 2021 11:40:58 +0000 (11:40 +0000)
commit65d52aef82dc8bd616c017bcda3b0cfcb1a296b7
treec1bc96ba3f6a4b9e777f421c1b7c2428f712ec49
parent5da10cefe24943f5a4d92ed6ea2f5a6f116e1a87
intel/dump_gpu: mark bo as unmapped if its address changes

Fixes crash in ppgtt_lookup when the same bo is used twice
with different offsets.

It's possible to hit this with i965 and always_flush_batch=true.

Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9008>
src/intel/tools/intel_dump_gpu.c