]> git.apps.os.sepia.ceph.com Git - ceph-client.git/commit
drm/msm/adreno: Setup SMMU aparture for per-process page table
authorBjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Sun, 10 Nov 2024 17:33:41 +0000 (09:33 -0800)
committerBjorn Andersson <andersson@kernel.org>
Mon, 11 Nov 2024 18:03:27 +0000 (12:03 -0600)
commit98e5b7f98356cef2f13b54862ca9ac016b71ff06
treeb1f8a9d6400c8f279d4d375f836782a8d01a2b80
parent1af75b2ad08bd5977c51c2d0fc11741a4c0a48d9
drm/msm/adreno: Setup SMMU aparture for per-process page table

Support for per-process page tables requires the SMMU aparture to be
setup such that the GPU can make updates with the SMMU. On some targets
this is done statically in firmware, on others it's expected to be
requested in runtime by the driver, through a SCM call.

One place where configuration is expected to be done dynamically is the
QCS6490 rb3gen2.

The downstream driver does this unconditioanlly on any A6xx and newer,
so follow suite and make the call.

Signed-off-by: Bjorn Andersson <bjorn.andersson@oss.qualcomm.com>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Link: https://lore.kernel.org/r/20241110-adreno-smmu-aparture-v2-2-9b1fb2ee41d4@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/gpu/drm/msm/adreno/adreno_gpu.c