drm/amd/swSMU: fix smu workload bit map error
authorKevin Wang <kevin1.wang@amd.com>
Tue, 5 Nov 2019 10:16:38 +0000 (18:16 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Nov 2019 03:06:23 +0000 (22:06 -0500)
commit38264de0dce80d223f358ce47512378fae0de586
tree5120e36d08a6286b401cab91f7f3fbe543602270
parent5e200fb97a765a4e70033139a5db1c816f67f288
drm/amd/swSMU: fix smu workload bit map error

fix workload bit (WORKLOAD_PPLIB_COMPUTE_BIT) map error
on vega20 and navi asic.

fix commit:
drm/amd/powerplay: add function get_workload_type_map for swsmu

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c