All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] drm/panfrost: MMU fixes
@ 2021-02-05 11:17 Boris Brezillon
  2021-02-05 11:17   ` Boris Brezillon
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Boris Brezillon @ 2021-02-05 11:17 UTC (permalink / raw)
  To: Rob Herring, Tomeu Vizoso, Alyssa Rosenzweig, Steven Price,
	Robin Murphy
  Cc: Boris Brezillon, dri-devel

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(-)

-- 
2.26.2

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-02-15  8:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-05 11:17 [PATCH v2 0/3] drm/panfrost: MMU fixes Boris Brezillon
2021-02-05 11:17 ` [PATCH v2 1/3] drm/panfrost: Clear MMU irqs before handling the fault Boris Brezillon
2021-02-05 11:17   ` Boris Brezillon
2021-02-05 11:17 ` [PATCH v2 2/3] drm/panfrost: Don't try to map pages that are already mapped Boris Brezillon
2021-02-05 11:17   ` Boris Brezillon
2021-02-05 11:17 ` [PATCH v2 3/3] drm/panfrost: Stay in the threaded MMU IRQ handler until we've handled all IRQs Boris Brezillon
2021-02-05 11:57   ` Steven Price
2021-02-09 15:05   ` Rob Herring
2021-02-15  8:49 ` [PATCH v2 0/3] drm/panfrost: MMU fixes Boris Brezillon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.