Skip to content

drm/panfrost: MMU fixes

Boris Brezillon dri-devel stable 2 versions – Applied

Status from this message: Queued to drm-misc-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 3 repliesApplied
  2. v13 patches 8 repliesSuperseded

Changes in v2 from the cover letter

* Rework the MMU irq handling loop to avoid a goto

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3drm/panfrost: Clear MMU irqs before handling the faultdrivers/gpu/drm/panfrost/panfrost_mmu.c+2 -20 replies
2/3drm/panfrost: Don't try to map pages that are already mappeddrivers/gpu/drm/panfrost/panfrost_mmu.c+8 -10 replies
3/3drm/panfrost: Stay in the threaded MMU IRQ handler until we've handled all IRQsdrivers/gpu/drm/panfrost/panfrost_mmu.c+14 -122 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchSteven PriceRob Herring
1/3R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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

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(-)
Signature · 6 lines
2.26.2

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel