<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:10pt;color:#317100;margin:15pt;" align="Left">
[AMD Public Use]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Is this for the series, or just this patch? Thanks!</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Alex<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Xu, Feifei <Feifei.Xu@amd.com><br>
<b>Sent:</b> Thursday, March 5, 2020 12:24 AM<br>
<b>To:</b> Alex Deucher <alexdeucher@gmail.com>; amd-gfx list <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Deucher, Alexander <Alexander.Deucher@amd.com>; Tawfik, Aly <Aly.Tawfik@amd.com><br>
<b>Subject:</b> RE: [PATCH 1/2] drm/amdgpu/display: fix pci revision id fetching</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">[AMD Official Use Only - Internal Distribution Only]<br>
<br>
<br>
<br>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com><br>
<br>
-----Original Message-----<br>
From: amd-gfx <amd-gfx-bounces@lists.freedesktop.org> On Behalf Of Alex Deucher<br>
Sent: 2020年3月5日 13:23<br>
To: amd-gfx list <amd-gfx@lists.freedesktop.org><br>
Cc: Deucher, Alexander <Alexander.Deucher@amd.com>; Tawfik, Aly <Aly.Tawfik@amd.com><br>
Subject: Re: [PATCH 1/2] drm/amdgpu/display: fix pci revision id fetching<br>
<br>
Ping?<br>
<br>
On Tue, Feb 25, 2020 at 3:32 PM Alex Deucher <alexdeucher@gmail.com> wrote:<br>
><br>
> From: Aly-Tawfik <altawfik@amd.com><br>
><br>
> Use the pci revision id rather than the asic silicon revision id.<br>
><br>
> Signed-off-by: Aly-Tawfik <altawfik@amd.com><br>
> Signed-off-by: Alex Deucher <alexander.deucher@amd.com><br>
> ---<br>
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 +-<br>
> 1 file changed, 1 insertion(+), 1 deletion(-)<br>
><br>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c<br>
> index 0c55d44c9d5b..92166150bf9f 100644<br>
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c<br>
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c<br>
> @@ -902,7 +902,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)<br>
><br>
> init_data.asic_id.chip_family = adev->family;<br>
><br>
> - init_data.asic_id.pci_revision_id = adev->rev_id;<br>
> + init_data.asic_id.pci_revision_id = adev->pdev->revision;<br>
> init_data.asic_id.hw_internal_rev = adev->external_rev_id;<br>
><br>
> init_data.asic_id.vram_width = adev->gmc.vram_width;<br>
> --<br>
> 2.24.1<br>
><br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="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%7Cdd49232261ac4267a33f08d7c0c54ad8%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637189825908683804&sdata=sN%2BGSvrmnz5Qdrf4JR0sFUDWMWyu7tsOh6ZG9lb9I5Y%3D&reserved=0</a><br>
</div>
</span></font></div>
</div>
</body>
</html>