]> 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)
commit2a99d06eef76affc8cf75d480ddc5baace56c106
treebff7e672ae0dabcbada22c9861bd69565fa4ae57
parentb9f3a5e1f3b5b6496107145f557c3134f7d7271f
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