Skip to content

WA_16021232440 - Disable fastclear when height is 16k

Aditya Swarup requested to merge aswarup/mesa:aswarup/WA_16021232440 into main

What does this MR do and why?

WA_16021232440 - Disable fastclear when height is 16k

If surface height during fast clear is 16k, as per bspec the height programmed
should be "value - 1" i.e. 0x3FFF. However, HW adds "1" to it but ignores
overflow bit[14]. HW performs OOB check based on bit[13:0] which is 0 and
drops failed transactions.

To prevent this the easiest solution is to do slow clear when surface height is 
16384. Partial fast clear solutions were tried but didn't work and seems to be 
too complicated for this corner case. Most apps won't request a surface with this
height.

This WA is required in both anv and iris drivers. 
Edited by Aditya Swarup

Merge request reports

Loading