OSDN Git Service

drm/amd/display: Pass PCI deviceid into DC
authorCharlene Liu <Charlene.Liu@amd.com>
Mon, 20 Sep 2021 18:30:02 +0000 (14:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Sep 2021 18:39:54 +0000 (14:39 -0400)
commitd942856865c733ff60450de9691af796ad71d7bc
treefc76bd70b21cbebbc441edbbbf27fc99740d4b7e
parent467a51b69d0828887fb1b6719159a6b16da688f8
drm/amd/display: Pass PCI deviceid into DC

[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
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c