]> 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)
commite5d77ca4e25d678ef9aeb0e640779866e8a22053
tree01413e87f6ac0f151a8592440aa13deeada8f1c2
parente448f3aaf0d467bea1028dff7e1defd7bb893a29
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: 3ec76f27f11d ("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