]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaafa3f0b8feeca3b7d2657e640f28ed1a5c63504
tree5120e36d08a6286b401cab91f7f3fbe543602270
parentee1262c0ef483d4ffa667973741566004b09e41e
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