drm/amdgpu: add function to program pbb mode for sienna cichlid
authorLikun Gao <Likun.Gao@amd.com>
Wed, 14 Oct 2020 06:05:18 +0000 (14:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 21 Oct 2020 21:33:42 +0000 (17:33 -0400)
commit274c240c760ed4647ddae1f1b994e0dd3f71cbb1
treeeef2abea8e9c1a7f1f35a6da811238cb06b79b79
parent40b99050455b9a6cb8faf15dcd41888312184720
drm/amdgpu: add function to program pbb mode for sienna cichlid

Add function for sienna_cichlid to force PBB workload mode to zero by
checking whether there have SE been harvested.

Signed-off-by: Likun Gao <Likun.Gao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org # 5.9.x
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c