summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorIcenowy Zheng <uwu@icenowy.me>2025-10-20 13:35:23 +0800
committerChristian König <christian.koenig@amd.com>2025-10-28 09:19:46 +0100
commit4f9ffd2c80a2fa09dcc8dfa0482cb7e0fb6fcf6c (patch)
tree88218ab9ced7217263c31201516f1c4a366b7224 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parenta80c98b6f0d900f820ea9c76c367348804c1e895 (diff)
drm/ttm: add pgprot handling for RISC-V
The RISC-V Svpbmt privileged extension provides support for overriding page memory coherency attributes, and, along with vendor extensions like Xtheadmae, supports pgprot_{writecombine,noncached} on RISC-V. Adapt the codepath that maps ttm_write_combined to pgprot_writecombine and ttm_noncached to pgprot_noncached to RISC-V, to allow proper page access attributes. Signed-off-by: Icenowy Zheng <uwu@icenowy.me> Tested-by: Han Gao <rabenda.cn@gmail.com> Acked-by: Christian König <christian.koenig@amd.com> Signed-off-by: Christian König <christian.koenig@amd.com> Link: https://lore.kernel.org/r/20251020053523.731353-1-uwu@icenowy.me
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions