All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Yu, Lang" <Lang.Yu@amd.com>
To: Paul Menzel <pmenzel@molgen.mpg.de>
Cc: "Deucher, Alexander" <Alexander.Deucher@amd.com>,
	"Huang, Ray" <Ray.Huang@amd.com>,
	"amd-gfx@lists.freedesktop.org" <amd-gfx@lists.freedesktop.org>
Subject: RE: [PATCH] drm/amdgpu: enable display for cyan skillfish
Date: Tue, 12 Oct 2021 09:18:14 +0000	[thread overview]
Message-ID: <DM6PR12MB42507547A4CCEAE8D595F923FBB69@DM6PR12MB4250.namprd12.prod.outlook.com> (raw)
In-Reply-To: <fb7a3b6f-4f53-59ec-d9da-031145b08ac4@molgen.mpg.de>

[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

  reply	other threads:[~2021-10-12  9:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2021-10-12 19:41 ` Alex Deucher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DM6PR12MB42507547A4CCEAE8D595F923FBB69@DM6PR12MB4250.namprd12.prod.outlook.com \
    --to=lang.yu@amd.com \
    --cc=Alexander.Deucher@amd.com \
    --cc=Ray.Huang@amd.com \
    --cc=amd-gfx@lists.freedesktop.org \
    --cc=pmenzel@molgen.mpg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.