Skip to content

Commit c331fad

Browse files
charliu-AMDENGgregkh
authored andcommitted
drm/amd/display: Pass PCI deviceid into DC
commit d942856 upstream. [why] pci deviceid not passed to dal dc, without proper break, dcn2.x falls into dcn3.x code path [how] pass in pci deviceid, and break once dal_version initialized. Reviewed-by: Zhan Liu <Zhan.Liu@amd.com> Acked-by: Anson Jacob <Anson.Jacob@amd.com> Signed-off-by: Charlene Liu <Charlene.Liu@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 0a16c97 commit c331fad

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -951,6 +951,7 @@ static int amdgpu_dm_init(struct amdgpu_device *adev)
951951

952952
init_data.asic_id.pci_revision_id = adev->pdev->revision;
953953
init_data.asic_id.hw_internal_rev = adev->external_rev_id;
954+
init_data.asic_id.chip_id = adev->pdev->device;
954955

955956
init_data.asic_id.vram_width = adev->gmc.vram_width;
956957
/* TODO: initialize init_data.asic_id.vram_type here!!!! */

0 commit comments

Comments
 (0)