panfrost: Dirty track batch masks

Since 5d187e9c ("panfrost: Add helpers to set batch masks"), we have common
helpers to set the colour and depth/stencil batch masks. Rather than set the
masks in various Midgard/Bifrost specific paths, set them generically based on
the finer dirty tracking. This lets us share the logic with Valhall.

Signed-off-by: Alyssa Rosenzweig <>
Part-of: <!15956>
49 jobs for !15956 with valhall-dt2 in 17 minutes and 55 seconds (queued for 8 seconds)
latest merge request