]> git.baikalelectronics.ru Git - kernel.git/commit
drm/panfrost: Add cache/TLB flush before switching address space
authorRob Herring <robh@kernel.org>
Mon, 26 Aug 2019 22:33:15 +0000 (17:33 -0500)
committerRob Herring <robh@kernel.org>
Fri, 30 Aug 2019 14:53:32 +0000 (09:53 -0500)
commit55ad1388d69a593ed69719df173e6fecf4cebaa2
tree01413e87f6ac0f151a8592440aa13deeada8f1c2
parent14694deb8e082767c7cd055a30774cc2571a2843
drm/panfrost: Add cache/TLB flush before switching address space

It's not entirely clear if this is required, but add a flush of GPU caches
and TLBs before we change an address space to new page tables.

Fixes: b11e1b24f72f ("drm/panfrost: Implement per FD address spaces")
Cc: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190826223317.28509-7-robh@kernel.org
drivers/gpu/drm/panfrost/panfrost_mmu.c