]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: skip judging if baco support for Arcturus sriov
authorJane Jian <Jane.Jian@amd.com>
Sat, 9 May 2020 05:16:26 +0000 (13:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 11 May 2020 22:03:01 +0000 (18:03 -0400)
commitd45d5e32c67716002924d9aea10c47ee6ccc5f85
tree28255ca1eb50dee3fe3a0a37a1703adfb6b1cfbe
parent3ec45bfa4d978d5b0358d4b6009da8018e71aa03
drm/amd/powerplay: skip judging if baco support for Arcturus sriov

since for sriov, baco happens on host side, no need and meaning
to judge is baco.
also, since kiq reads strap0 in here, if kiq is not ready
or gpu reset(kiq resume) happens after this read, would fail
to read and wrongly set baco as true(1).

Acked-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Jane Jian <Jane.Jian@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c