OSDN Git Service

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>
Wed, 6 Nov 2019 21:27:47 +0000 (16:27 -0500)
commit2c874ad9d6293cd387b13304894e4322ec3eab6f
tree04071d8d2ece003512d111c4d9f6b3d402be8467
parent8d3bf936bafe75ad22f80420f052ab737c0515fb
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