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>
Thu, 15 Oct 2020 16:22:49 +0000 (12:22 -0400)
commit5fe19ce8e48d11de2932bb38fc6eba10faae4fd0
tree9c2daeb902c67258d60216f7101f0ca782c9bcda
parent9294fa6a1d94e48a015b40ae277f2928efea0590
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>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c