]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Albebaran: MTYPE_NC for coarse-grain remote memory
authorFelix Kuehling <Felix.Kuehling@amd.com>
Mon, 10 May 2021 22:50:11 +0000 (18:50 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 02:29:56 +0000 (22:29 -0400)
commitc1d1e0161887cd282c2f7abda3d39e18995ea282
treebb7cb99d946bc334a899950ddd177b8fe1d65f98
parent9b39b3042af916372584229c879099247086e853
drm/amdgpu: Albebaran: MTYPE_NC for coarse-grain remote memory

MTYPE UC was used for a specific use case that ended up not being
implemented. Use NC for better performance for coarse-grained memory where
cache coherence during shader execution is not required.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Oak Zeng <Oak.Zeng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.c