]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Oct 2021 13:31:21 +0000 (15:31 +0200)
commitd1e851cf07cb39db20489130406879c7d17b6675
treeb090d8c277fa3e2bbb949a3bcc01484ca3f8969e
parentf6ba8a8c3782287a72aed2b99fac7dd5e29d1e9d
drm/amd/display: Pass PCI deviceid into DC

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