Skip to contentSkip to conversation

drm/amd/display: add GTT domain support for dcn 3.1.5 and 3.1.6

PATCH In review Yifan Zhang 3 participants 4 messages Feb 22, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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

From: "Tianci.Yin" <[email protected]>

this patch adds GTT domain support for dcn 3.1.5 and 3.1.6

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +2 -0
index 9709368b4915..37f4da219a5f 100644
@@ -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:
Signature · 1 line
2.25.1
Acked-by on v2 1/1
#1 lore raw
Quoted 6 lines · Yifan Zhang

From: "Tianci.Yin" <[email protected]>

this patch adds GTT domain support for dcn 3.1.5 and 3.1.6

Harry

Quoted 17 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +2 -0
index 9709368b4915..37f4da219a5f 100644
@@ -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 lore raw

How about this series instead?
https://patchwork.freedesktop.org/series/100519/

Alex

Quoted 31 lines · Harry Wentland
Quoted 6 lines · Yifan Zhang

From: "Tianci.Yin" <[email protected]>

this patch adds GTT domain support for dcn 3.1.5 and 3.1.6

Harry

Quoted 17 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +2 -0
index 9709368b4915..37f4da219a5f 100644
@@ -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:
#3 lore raw

[AMD Official Use Only]

Hi Alex,

I'm OK w/ this series. Acked.

BRs,
Yifan

-----Original Message-----
From: Alex Deucher <[email protected]>
Sent: Tuesday, February 22, 2022 10:17 PM
To: Wentland, Harry <[email protected]>
Cc: Zhang, Yifan <[email protected]>; amd-gfx list <[email protected]>; Li, Sun peng (Leo) <[email protected]>; Deucher, Alexander <[email protected]>; Liang, Prike <[email protected]>; Yin, Tianci (Rico) <[email protected]>; Koenig, Christian <[email protected]>
Subject: Re: [PATCH v2] drm/amd/display: add GTT domain support for dcn 3.1.5 and 3.1.6

How about this series instead?
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fpatchwork.freedesktop.org%2Fseries%2F100519%2F&amp;data=04%7C01%7Cyifan1.zhang%40amd.com%7C23aba82394f446c4c41b08d9f60e0687%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637811362370697462%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=oMn8bBcpNupXv3Kf%2FkMMbHLBtuQ45b46rEq4cAZYs2g%3D&amp;reserved=0

Alex

Quoted 31 lines · Harry Wentland
Quoted 6 lines · Yifan Zhang

From: "Tianci.Yin" <[email protected]>

this patch adds GTT domain support for dcn 3.1.5 and 3.1.6

Harry

Quoted 17 lines
---
 drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +2 -0
index 9709368b4915..37f4da219a5f 100644
@@ -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: