drm/amd/display: add GTT domain support for dcn 3.1.5
Subsystems (2)
PATCH 1/1 drm/amd/display: add GTT domain support for dcn 3.1.5
From: "Tianci.Yin" <[email protected]>
this patch adds GTT domain support for dcn 3.1.5
--- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +1 -0
@@ -523,6 +523,7 @@ 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 ): domain |=AMDGPU_GEM_DOMAIN_GTT ;break ;default :
Signature · 1 line
2.25.1
Regards,
Guchun
-----Original Message-----
From: amd-gfx <[email protected]> On Behalf Of Yifan Zhang
Sent: Monday, February 21, 2022 6:15 PM
To: [email protected]
Cc: Li, Sun peng (Leo) <[email protected]>; Zhang, Yifan <[email protected]>; Yin, Tianci (Rico) <[email protected]>; Wentland, Harry <[email protected]>
Subject: [PATCH] drm/amd/display: add GTT domain support for dcn 3.1.5
From: "Tianci.Yin" <[email protected]>
this patch adds GTT domain support for dcn 3.1.5
--- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 1 + 1 file changed, 1 insertion(+)
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +1 -0
@@ -523,6 +523,7 @@ 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 ): domain |=AMDGPU_GEM_DOMAIN_GTT ;break ;default :
Signature · 1 line
2.25.1
Quoted 16 lines · Yifan Zhang
From: "Tianci.Yin" <[email protected]>
this patch adds GTT domain support for dcn 3.1.5
Signed-off-by Tianci.Yin <[email protected]>Signed-off-by Yifan Zhang <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 1 + 1 file changed, 1 insertion(+)drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +0
-0
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev, · line 526
Quoted 4 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +1
-0@@ -523,6 +523,7 @@ 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 ):
Should also add 3.1.6 as well?
Alex
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +0
-1domain |=AMDGPU_GEM_DOMAIN_GTT ;break ;default : --2.25.1
Am 21.02.22 um 15:27 schrieb Alex Deucher:
Quoted 11 lines · Yifan Zhang
Quoted 10 lines
From: "Tianci.Yin" <[email protected]>
this patch adds GTT domain support for dcn 3.1.5
Signed-off-by Tianci.Yin <[email protected]>Signed-off-by Yifan Zhang <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 1 + 1 file changed, 1 insertion(+)
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev, · line 526
Quoted 9 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +1
-0@@ -523,6 +523,7 @@ 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 ):Should also add 3.1.6 as well?
I'm really wondering if that check shouldn't be something like >= IP_VERSION(3, 1, 0) instead.
Christian.
Quoted 10 lines
Alex
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +0
-1domain |=AMDGPU_GEM_DOMAIN_GTT ;break ;default : --2.25.1
[AMD Official Use Only]
Hi Christian,
We'd like to enable display S/G only for APUs which have smaller VRAM. If >= IP_VERSION(3, 1, 0) is used, new dGPUs will be included. That's not our intention.
BRs,
Yifan
-----Original Message-----
From: Christian König <[email protected]>
Sent: Tuesday, February 22, 2022 2:15 AM
To: Alex Deucher <[email protected]>; Zhang, Yifan <[email protected]>
Cc: Li, Sun peng (Leo) <[email protected]>; Yin, Tianci (Rico) <[email protected]>; Wentland, Harry <[email protected]>; amd-gfx list <[email protected]>
Subject: Re: [PATCH] drm/amd/display: add GTT domain support for dcn 3.1.5
Am 21.02.22 um 15:27 schrieb Alex Deucher:
Quoted 11 lines · Yifan Zhang
Quoted 10 lines
From: "Tianci.Yin" <[email protected]>
this patch adds GTT domain support for dcn 3.1.5
Signed-off-by Tianci.Yin <[email protected]>Signed-off-by Yifan Zhang <[email protected]>--- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | 1 + 1 file changed, 1 insertion(+)
Quoted 11 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c uint32_t amdgpu_display_supported_domains(struct amdgpu_device *adev, · line 526
Quoted 10 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +1
-0@@ -523,6 +523,7 @@ 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 ):Should also add 3.1.6 as well?
I'm really wondering if that check shouldn't be something like >= IP_VERSION(3, 1, 0) instead.
Christian.
Quoted 10 lines
Alex
Quoted 6 lines
drivers/gpu/drm/amd/amdgpu/amdgpu_display.c +0
-1domain |=AMDGPU_GEM_DOMAIN_GTT ;break ;default : --2.25.1