Skip to content

automarge | iris: Pin surface state buffers after possibly updating the clear color

Kenneth Graunke requested to merge kwg/mesa:iris-pin-after into master

(merging a patch from !8964 (merged))

On Gen8, updating the clear color will end up allocating new SURFACE_STATE entries. These might end up living in a different BO than the original copies, which means that we have to pin after updating the clear color, not before.

Found by inspection.

Reviewed-by: Zoltán Böszörményi <zboszor@gmail.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com>

Merge request reports