Skip to content

panfrost: Clamp the render area to the damage region

What does this MR do and why?

The render area clamping to the damage region was lost during the transition to the FB helpers. Restore the original logic so we can benefit from EGL_KHR_partial_update on v4, and on v5 when only one damage rectangle is passed.

Fixes: ff3eada7 ("panfrost: Use the generic preload and FB helpers in the gallium driver")

/cc @kusma @daniels

Edited by Boris Brezillon

Merge request reports