]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use physical translation mode to access page table
authorOak Zeng <Oak.Zeng@amd.com>
Sat, 23 Jan 2021 17:34:45 +0000 (11:34 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 02:58:27 +0000 (22:58 -0400)
commit472ee0a957bd45dece30e3ffab82a0ab79ab9863
treebff7e672ae0dabcbada22c9861bd69565fa4ae57
parenta6dbe4c5f1ba0d829b02df22b63d31cc96b45868
drm/amdgpu: Use physical translation mode to access page table

On A+A platform, CPU write page directory and page table in cached
mode. So it is necessary for page table walker to snoop CPU cache.
This setting is necessary for page walker to snoop page directory
and page table data out of CPU cache.

Signed-off-by: Oak Zeng <Oak.Zeng@amd.com>
Acked-by: Christian Konig <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfxhub_v1_0.c
drivers/gpu/drm/amd/amdgpu/mmhub_v1_7.c