drm/amd/powerplay: correct SW SMU valid mapping check
authorEvan Quan <evan.quan@amd.com>
Thu, 11 Jul 2019 02:23:17 +0000 (10:23 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 18 Jul 2019 19:18:07 +0000 (14:18 -0500)
commit7e01a2ec96bf8a149c5e83d0352cf6ea286275cf
tree1c3056f2bb447a3137b5af65cc0f9cdccd81721a
parenta08a4dae7a11d6665c8d2a49a2c01e8a71a18955
drm/amd/powerplay: correct SW SMU valid mapping check

Current implementation is not actually able to detect
invalid message/table/workload mapping.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/kgd_pp_interface.h
drivers/gpu/drm/amd/powerplay/arcturus_ppt.c
drivers/gpu/drm/amd/powerplay/inc/smu_v11_0.h
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/vega20_ppt.c