OSDN Git Service

drm/panfrost: Convert MMU IRQ handler to threaded handler
authorRob Herring <robh@kernel.org>
Fri, 26 Jul 2019 22:06:57 +0000 (16:06 -0600)
committerRob Herring <robh@kernel.org>
Mon, 12 Aug 2019 20:21:13 +0000 (14:21 -0600)
commitb31bdd1389fc765c07ab3d5b341092cb16807d29
treecbe49b601d8f86390dba4b9fdab6948f9a6b5c6d
parent73e467f60acdabd480d1b377a623ba13db0e5dd2
drm/panfrost: Convert MMU IRQ handler to threaded handler

In preparation to handle mapping of page faults, we need the MMU handler
to be threaded as code paths take a mutex.

As the IRQ may be shared, we can't use the default handler and must
disable the MMU interrupts locally.

Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: Boris Brezillon <boris.brezillon@collabora.com>
Cc: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190808222200.13176-8-robh@kernel.org
drivers/gpu/drm/panfrost/panfrost_mmu.c