]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: fix the issue of checking on message mapping
authorHuang Rui <ray.huang@amd.com>
Mon, 25 Feb 2019 11:43:00 +0000 (19:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:04:02 +0000 (15:04 -0500)
commitd8cf85cf4f725663ac9b4bcaabae73eba2f50622
tree654cbb7dff8a1effdbcd0ce48c0eadf32498a292
parent62fbcb9d0db38334ecdd8158a0b03ececcb45d5a
drm/amd/powerplay: fix the issue of checking on message mapping

The vega20_message_map[index] scope should be in PPSMC_Message_Count not in
SMU_MSG_MAX_COUNT.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/vega20_ppt.c