[PATCH v2] drm/amd/display: add GTT domain support for dcn 3.1.5 and 3.1.6

Yifan Zhang yifan1.zhang at amd.com
Tue Feb 22 06:03:13 UTC 2022


From: "Tianci.Yin" <tianci.yin at amd.com>

this patch adds GTT domain support for dcn 3.1.5 and 3.1.6

Signed-off-by: Tianci.Yin <tianci.yin at amd.com>
Signed-off-by: Yifan Zhang <yifan1.zhang at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
index 9709368b4915..37f4da219a5f 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
@@ -523,6 +523,8 @@ uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev,
 			case IP_VERSION(3, 0, 1):
 			case IP_VERSION(3, 1, 2):
 			case IP_VERSION(3, 1, 3):
+			case IP_VERSION(3, 1, 5):
+			case IP_VERSION(3, 1, 6):
 				domain |= AMDGPU_GEM_DOMAIN_GTT;
 				break;
 			default:
-- 
2.25.1



More information about the amd-gfx mailing list