drm/amdgpu/bu: add mtype_local as a module parameter
authorDavid Francis <David.Francis@amd.com>
Mon, 27 Feb 2023 15:33:11 +0000 (10:33 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:59:13 +0000 (09:59 -0400)
commit76eb9c95a409ea820b2e7c968c220e7a38f27d76
treed56750f9dbcc889457b3b5d957e82433000e8a90
parent352b919c1e5ff50c71d665395b27acbd1bf23a05
drm/amdgpu/bu: add mtype_local as a module parameter

Selects the MTYPE to be used for local memory,
(0 = MTYPE_CC (default), 1 = MTYPE_NC, 2 = MTYPE_RW)

v2: squash in build fix (Alex)

Reviewed-by: Graham Sider <Graham.Sider@amd.com>
Signed-off-by: David Francis <David.Francis@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdkfd/kfd_svm.c