tu/a750: Use generic clear for all kinds of image/att clears, enabling UBWC fast-clear
What does this MR do and why?
A7XX supports generic clears that work both in sysmem and gmem, they also seem to fast clear UBWC.
The BLIT_EVENT_CLEAR
doesn't go through CCU and operates on sysmem (unless we clear gmem), so it breaks the assumption for our flushes tracking (which assumes that transfer ops are going through CCU). Thus I chose to manually flush+invalidate CCU before image clears.
The has_generic_clear
feature is only enabled on a750.
As for A740 - for some reason CP_BLIT doesn't want to store clears from BLIT_EVENT_CLEAR
, I'm not sure why. (e.g. test dEQP-VK.renderpass2.dedicated_allocation.attachment.1.0
)