* [PATCH] drm/amdgpu: enable display for cyan skillfish
@ 2021-10-12 6:16 Lang Yu
2021-10-12 7:56 ` Huang, Ray
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Lang Yu @ 2021-10-12 6:16 UTC (permalink / raw)
To: amd-gfx; +Cc: Alex Deucher, Huang Rui, Lang Yu
Display support for cyan skillfish is ready now. Enable it!
Signed-off-by: Lang Yu <lang.yu@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 2bebd2ce6474..4228c7964175 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -736,6 +736,7 @@ static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(1, 0, 1):
case IP_VERSION(2, 0, 2):
case IP_VERSION(2, 0, 0):
+ case IP_VERSION(2, 0, 3):
case IP_VERSION(2, 1, 0):
case IP_VERSION(3, 0, 0):
case IP_VERSION(3, 0, 2):
@@ -745,8 +746,6 @@ static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(3, 1, 3):
amdgpu_device_ip_block_add(adev, &dm_ip_block);
break;
- case IP_VERSION(2, 0, 3):
- break;
default:
return -EINVAL;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* RE: [PATCH] drm/amdgpu: enable display for cyan skillfish
2021-10-12 6:16 [PATCH] drm/amdgpu: enable display for cyan skillfish Lang Yu
@ 2021-10-12 7:56 ` Huang, Ray
2021-10-12 8:51 ` Paul Menzel
2021-10-12 19:41 ` Alex Deucher
2 siblings, 0 replies; 5+ messages in thread
From: Huang, Ray @ 2021-10-12 7:56 UTC (permalink / raw)
To: Yu, Lang, amd-gfx; +Cc: Deucher, Alexander, Liu, Charlene
[AMD Official Use Only]
+ Charlene.
Reviewed-by: Huang Rui <ray.huang@amd.com>
-----Original Message-----
From: Yu, Lang <Lang.Yu@amd.com>
Sent: Tuesday, October 12, 2021 2:16 PM
To: amd-gfx@lists.freedesktop.org
Cc: Deucher, Alexander <Alexander.Deucher@amd.com>; Huang, Ray <Ray.Huang@amd.com>; Yu, Lang <Lang.Yu@amd.com>
Subject: [PATCH] drm/amdgpu: enable display for cyan skillfish
Display support for cyan skillfish is ready now. Enable it!
Signed-off-by: Lang Yu <lang.yu@amd.com>
---
drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
index 2bebd2ce6474..4228c7964175 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
@@ -736,6 +736,7 @@ static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(1, 0, 1):
case IP_VERSION(2, 0, 2):
case IP_VERSION(2, 0, 0):
+ case IP_VERSION(2, 0, 3):
case IP_VERSION(2, 1, 0):
case IP_VERSION(3, 0, 0):
case IP_VERSION(3, 0, 2):
@@ -745,8 +746,6 @@ static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
case IP_VERSION(3, 1, 3):
amdgpu_device_ip_block_add(adev, &dm_ip_block);
break;
- case IP_VERSION(2, 0, 3):
- break;
default:
return -EINVAL;
}
--
2.25.1
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] drm/amdgpu: enable display for cyan skillfish
2021-10-12 6:16 [PATCH] drm/amdgpu: enable display for cyan skillfish Lang Yu
2021-10-12 7:56 ` Huang, Ray
@ 2021-10-12 8:51 ` Paul Menzel
2021-10-12 9:18 ` Yu, Lang
2021-10-12 19:41 ` Alex Deucher
2 siblings, 1 reply; 5+ messages in thread
From: Paul Menzel @ 2021-10-12 8:51 UTC (permalink / raw)
To: Lang Yu; +Cc: Alex Deucher, Huang Rui, amd-gfx
Dear Lang,
Am 12.10.21 um 08:16 schrieb Lang Yu:
> Display support for cyan skillfish is ready now.
What is the last commit making it “ready”?
> Enable it!
How did you test the patch?
> Signed-off-by: Lang Yu <lang.yu@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> index 2bebd2ce6474..4228c7964175 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> @@ -736,6 +736,7 @@ static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
> case IP_VERSION(1, 0, 1):
> case IP_VERSION(2, 0, 2):
> case IP_VERSION(2, 0, 0):
> + case IP_VERSION(2, 0, 3):
The numbers are not ordered. Could you please put a patch before this
one, fixing the ordering?
> case IP_VERSION(2, 1, 0):
> case IP_VERSION(3, 0, 0):
> case IP_VERSION(3, 0, 2):
> @@ -745,8 +746,6 @@ static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
> case IP_VERSION(3, 1, 3):
> amdgpu_device_ip_block_add(adev, &dm_ip_block);
> break;
> - case IP_VERSION(2, 0, 3):
> - break;
> default:
> return -EINVAL;
> }
>
Kind regards,
Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] drm/amdgpu: enable display for cyan skillfish
2021-10-12 8:51 ` Paul Menzel
@ 2021-10-12 9:18 ` Yu, Lang
0 siblings, 0 replies; 5+ messages in thread
From: Yu, Lang @ 2021-10-12 9:18 UTC (permalink / raw)
To: Paul Menzel; +Cc: Deucher, Alexander, Huang, Ray, amd-gfx
[Public]
>-----Original Message-----
>From: Paul Menzel <pmenzel@molgen.mpg.de>
>Sent: Tuesday, October 12, 2021 4:51 PM
>To: Yu, Lang <Lang.Yu@amd.com>
>Cc: Deucher, Alexander <Alexander.Deucher@amd.com>; Huang, Ray
><Ray.Huang@amd.com>; amd-gfx@lists.freedesktop.org
>Subject: Re: [PATCH] drm/amdgpu: enable display for cyan skillfish
>
>Dear Lang,
>
>
>Am 12.10.21 um 08:16 schrieb Lang Yu:
>> Display support for cyan skillfish is ready now.
>
>What is the last commit making it “ready”?
This one,
commit 4ac93fa0ec12a887b40b81d9b8b7fcd1033f48d5
drm/amd/display: add cyan_skillfish display support
Actually, it is fine before switching to amdgpu_discovery_set_ip_blocks.
During developing amdgpu_discovery_set_ip_blocks, it is not ready.
So skip to enable it.
>> Enable it!
>
>How did you test the patch?
I compiled amdgpu driver with this patch and loaded it on ubuntu 20.04.
The display worked well. Otherwise the display won't work.
Regards,
Lang
>> Signed-off-by: Lang Yu <lang.yu@amd.com>
>> ---
>> drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 3 +--
>> 1 file changed, 1 insertion(+), 2 deletions(-)
>>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
>> b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
>> index 2bebd2ce6474..4228c7964175 100644
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
>> @@ -736,6 +736,7 @@ static int
>amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
>> case IP_VERSION(1, 0, 1):
>> case IP_VERSION(2, 0, 2):
>> case IP_VERSION(2, 0, 0):
>> + case IP_VERSION(2, 0, 3):
>
>The numbers are not ordered. Could you please put a patch before this one, fixing
>the ordering?
>
>> case IP_VERSION(2, 1, 0):
>> case IP_VERSION(3, 0, 0):
>> case IP_VERSION(3, 0, 2):
>> @@ -745,8 +746,6 @@ static int
>amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
>> case IP_VERSION(3, 1, 3):
>> amdgpu_device_ip_block_add(adev, &dm_ip_block);
>> break;
>> - case IP_VERSION(2, 0, 3):
>> - break;
>> default:
>> return -EINVAL;
>> }
>>
>
>
>Kind regards,
>
>Paul
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] drm/amdgpu: enable display for cyan skillfish
2021-10-12 6:16 [PATCH] drm/amdgpu: enable display for cyan skillfish Lang Yu
2021-10-12 7:56 ` Huang, Ray
2021-10-12 8:51 ` Paul Menzel
@ 2021-10-12 19:41 ` Alex Deucher
2 siblings, 0 replies; 5+ messages in thread
From: Alex Deucher @ 2021-10-12 19:41 UTC (permalink / raw)
To: Lang Yu; +Cc: amd-gfx list, Alex Deucher, Huang Rui
On Tue, Oct 12, 2021 at 2:16 AM Lang Yu <lang.yu@amd.com> wrote:
>
> Display support for cyan skillfish is ready now. Enable it!
>
> Signed-off-by: Lang Yu <lang.yu@amd.com>
Whoops. this is my mistake. I lost the display enablement when the IP
discovery patches and the cyan skillfish display patches crossed.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
> ---
> drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> index 2bebd2ce6474..4228c7964175 100644
> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_discovery.c
> @@ -736,6 +736,7 @@ static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
> case IP_VERSION(1, 0, 1):
> case IP_VERSION(2, 0, 2):
> case IP_VERSION(2, 0, 0):
> + case IP_VERSION(2, 0, 3):
> case IP_VERSION(2, 1, 0):
> case IP_VERSION(3, 0, 0):
> case IP_VERSION(3, 0, 2):
> @@ -745,8 +746,6 @@ static int amdgpu_discovery_set_display_ip_blocks(struct amdgpu_device *adev)
> case IP_VERSION(3, 1, 3):
> amdgpu_device_ip_block_add(adev, &dm_ip_block);
> break;
> - case IP_VERSION(2, 0, 3):
> - break;
> default:
> return -EINVAL;
> }
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-10-12 19:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-12 6:16 [PATCH] drm/amdgpu: enable display for cyan skillfish Lang Yu
2021-10-12 7:56 ` Huang, Ray
2021-10-12 8:51 ` Paul Menzel
2021-10-12 9:18 ` Yu, Lang
2021-10-12 19:41 ` Alex Deucher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.