panfrost: Look into invalidate_resource()
Currently the callback is stubbed out, but implementing it properly could be a performance win (and probably save quite a bit of memory bandwidth). Also, it looks like it's a better test than the is_scanout() stuff we poke at.
See lima commit 60f9b458 -- essentially identical strategy will apply to us, I believe.