[PATCH 1/2] drm/amdgpu/display: fix pci revision id fetching

Xu, Feifei Feifei.Xu at amd.com
Fri Mar 6 01:58:18 UTC 2020


[AMD Public Use]

Patch3: Acked-by: Feifei Xu <Feifei.Xu at amd.com>

Regards,
Feifei

From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org> On Behalf Of Xu, Feifei
Sent: 2020年3月6日 9:54
To: Deucher, Alexander <Alexander.Deucher at amd.com>; Alex Deucher <alexdeucher at gmail.com>; amd-gfx list <amd-gfx at lists.freedesktop.org>
Cc: Tawfik, Aly <Aly.Tawfik at amd.com>
Subject: RE: [PATCH 1/2] drm/amdgpu/display: fix pci revision id fetching


[AMD Public Use]

Patch1, Patch2 are :


Reviewed-by: Feifei Xu <Feifei.Xu at amd.com<mailto:Feifei.Xu at amd.com>>


From: Deucher, Alexander <Alexander.Deucher at amd.com<mailto:Alexander.Deucher at amd.com>>
Sent: 2020年3月6日 0:00
To: Xu, Feifei <Feifei.Xu at amd.com<mailto:Feifei.Xu at amd.com>>; Alex Deucher <alexdeucher at gmail.com<mailto:alexdeucher at gmail.com>>; amd-gfx list <amd-gfx at lists.freedesktop.org<mailto:amd-gfx at lists.freedesktop.org>>
Cc: Tawfik, Aly <Aly.Tawfik at amd.com<mailto:Aly.Tawfik at amd.com>>
Subject: Re: [PATCH 1/2] drm/amdgpu/display: fix pci revision id fetching


[AMD Public Use]

Is this for the series, or just this patch?  Thanks!

Alex
________________________________
From: Xu, Feifei <Feifei.Xu at amd.com<mailto:Feifei.Xu at amd.com>>
Sent: Thursday, March 5, 2020 12:24 AM
To: Alex Deucher <alexdeucher at gmail.com<mailto:alexdeucher at gmail.com>>; amd-gfx list <amd-gfx at lists.freedesktop.org<mailto:amd-gfx at lists.freedesktop.org>>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com<mailto:Alexander.Deucher at amd.com>>; Tawfik, Aly <Aly.Tawfik at amd.com<mailto:Aly.Tawfik at amd.com>>
Subject: RE: [PATCH 1/2] drm/amdgpu/display: fix pci revision id fetching

[AMD Official Use Only - Internal Distribution Only]



Reviewed-by: Feifei Xu <Feifei.Xu at amd.com<mailto:Feifei.Xu at amd.com>>

-----Original Message-----
From: amd-gfx <amd-gfx-bounces at lists.freedesktop.org<mailto:amd-gfx-bounces at lists.freedesktop.org>> On Behalf Of Alex Deucher
Sent: 2020年3月5日 13:23
To: amd-gfx list <amd-gfx at lists.freedesktop.org<mailto:amd-gfx at lists.freedesktop.org>>
Cc: Deucher, Alexander <Alexander.Deucher at amd.com<mailto:Alexander.Deucher at amd.com>>; Tawfik, Aly <Aly.Tawfik at amd.com<mailto:Aly.Tawfik at amd.com>>
Subject: Re: [PATCH 1/2] drm/amdgpu/display: fix pci revision id fetching

Ping?

On Tue, Feb 25, 2020 at 3:32 PM Alex Deucher <alexdeucher at gmail.com<mailto:alexdeucher at gmail.com>> wrote:
>
> From: Aly-Tawfik <altawfik at amd.com<mailto:altawfik at amd.com>>
>
> Use the pci revision id rather than the asic silicon revision id.
>
> Signed-off-by: Aly-Tawfik <altawfik at amd.com<mailto:altawfik at amd.com>>
> Signed-off-by: Alex Deucher <alexander.deucher at amd.com<mailto:alexander.deucher at amd.com>>
> ---
>  drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index 0c55d44c9d5b..92166150bf9f 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -902,7 +902,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
>
>         init_data.asic_id.chip_family = adev->family;
>
> -       init_data.asic_id.pci_revision_id = adev->rev_id;
> +       init_data.asic_id.pci_revision_id = adev->pdev->revision;
>         init_data.asic_id.hw_internal_rev = adev->external_rev_id;
>
>         init_data.asic_id.vram_width = adev->gmc.vram_width;
> --
> 2.24.1
>
_______________________________________________
amd-gfx mailing list
amd-gfx at lists.freedesktop.org<mailto:amd-gfx at lists.freedesktop.org>
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=02%7C01%7CFeifei.Xu%40amd.com%7Cdd49232261ac4267a33f08d7c0c54ad8%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637189825908683804&sdata=sN%2BGSvrmnz5Qdrf4JR0sFUDWMWyu7tsOh6ZG9lb9I5Y%3D&reserved=0<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&data=02%7C01%7CFeifei.Xu%40amd.com%7Cdd57c60d9a094f71f0cd08d7c1713880%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637190564935585723&sdata=N79NoA72vZ9zZRYsS92VIY0foejZG6igq57bbx7DIsI%3D&reserved=0>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20200306/bdedb99f/attachment.htm>


More information about the amd-gfx mailing list