diff options
author | Yong Zhao <yong.zhao@amd.com> | 2018-09-13 03:42:19 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-20 17:25:17 +0200 |
commit | 15426dbb65c5b37680d27e84d58a1ed3b8532518 (patch) | |
tree | 631d5baf64f9dbf5107326c49b05bfe124ae2fb8 /drivers/tty/Makefile | |
parent | drm/amdgpu: Fix SDMA HQD destroy error on gfx_v7 (diff) | |
download | linux-15426dbb65c5b37680d27e84d58a1ed3b8532518.tar.xz linux-15426dbb65c5b37680d27e84d58a1ed3b8532518.zip |
drm/amdkfd: Change the control stack MTYPE from UC to NC on GFX9
CWSR fails on Raven if the control stack is MTYPE_UC, which is used
for regular GART mappings. As a workaround we map it using MTYPE_NC.
The MEC firmware expects the control stack at one page offset from the
start of the MQD so it is part of the MQD allocation on GFXv9. AMDGPU
added a memory allocation flag just for this purpose.
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Yong Zhao <yong.zhao@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/tty/Makefile')
0 files changed, 0 insertions, 0 deletions