]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd5f8cd0ae90485f1f74ca645a5ac659155c4c2e8
treefc76bd70b21cbebbc441edbbbf27fc99740d4b7e
parent23aafc9590372c9708c562a1c6e22b6a23cb7aa6
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