]> 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)
commit5a26aa244ebe828be37ab23224da287350df487b
tree654cbb7dff8a1effdbcd0ce48c0eadf32498a292
parent58cce9a06cf7c6a524f0fd4aa0b56bec7dfcad03
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