summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAlex Sierra <alex.sierra@amd.com>2026-06-03 15:38:13 -0500
committerAlex Deucher <alexander.deucher@amd.com>2026-09-02 15:30:09 -0400
commit5795906d745dfd389db34ee0318fffdbf675c302 (patch)
treeb69d9662ea4cf0be2b7e61cb8e35d5d17fc38a9a /drivers
parentf17ddf54f1e6700d5777e94574f3533cd5719661 (diff)
downloadlinux-next-5795906d745dfd389db34ee0318fffdbf675c302.tar.gz
linux-next-5795906d745dfd389db34ee0318fffdbf675c302.zip
drm/amdgpu: log remote memory MTYPE for GC 12.1.0
MTYPE UC in A0 and MTYPE NC in A1 for remote memory Signed-off-by: Alex Sierra <alex.sierra@amd.com> Reviewed-by: Harish Kasiviswanathan <Harish.Kasiviswanathan@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c b/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
index 34d5767287d7..302ebf2f3ccd 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.c
@@ -649,7 +649,9 @@ static void gmc_v12_1_get_coherence_flags(struct amdgpu_device *adev,
} else if (amdgpu_mtype_local == 2) {
DRM_INFO_ONCE("MTYPE_CC not supported, using %s for local memory\n", is_aid_a1 ? "MTYPE_RW" : "MTYPE_NC");
} else {
- DRM_INFO_ONCE("Using %s for local memory\n", is_aid_a1 ? "MTYPE_RW" : "MTYPE_NC");
+ DRM_INFO_ONCE("Using %s for local memory and %s for remote memory\n",
+ is_aid_a1 ? "MTYPE_RW" : "MTYPE_NC",
+ is_aid_a1 ? "MTYPE_NC" : "MTYPE_UC");
}
is_local = (is_vram && adev == bo_adev);