[PATCH v2 0/3] drm/panfrost: MMU fixes

Boris Brezillon boris.brezillon at collabora.com
Mon Feb 15 08:49:31 UTC 2021


On Fri,  5 Feb 2021 12:17:54 +0100
Boris Brezillon <boris.brezillon at collabora.com> wrote:

> Hello,
> 
> Here are 2 fixes and one improvement for the page fault handling. Those
> bugs were found while working on indirect draw supports which requires
> the allocation of a big heap buffer for varyings, and the vertex/tiler
> shaders seem to have access pattern that trigger those issues. I
> remember discussing the first issue with Steve or Robin a while back,
> but we never hit it before (now we do :)).
> 
> The last patch is a perf improvement: no need to re-enable hardware
> interrupts if we know the threaded irq handler will be woken up right
> away.
> 
> Regards,
> 
> Boris
> 
> Changes in v2:
> * Rework the MMU irq handling loop to avoid a goto

Queued to drm-misc-next.

> 
> Boris Brezillon (3):
>   drm/panfrost: Clear MMU irqs before handling the fault
>   drm/panfrost: Don't try to map pages that are already mapped
>   drm/panfrost: Stay in the threaded MMU IRQ handler until we've handled
>     all IRQs
> 
>  drivers/gpu/drm/panfrost/panfrost_mmu.c | 39 +++++++++++++++----------
>  1 file changed, 24 insertions(+), 15 deletions(-)
> 



More information about the dri-devel mailing list