mirror of https://gitee.com/openkylin/linux.git
drm/amdgpu/display: fix pci revision id fetching
Use the pci revision id rather than the asic silicon revision id. Reviewed-by: Feifei Xu <Feifei.Xu@amd.com> Signed-off-by: Aly-Tawfik <altawfik@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
97f6a21bfa
commit
2dc31ca189
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue