drm/amdgpu: fix the issue of checking on message mapping
authorHuang Rui <ray.huang@amd.com>
Wed, 20 Feb 2019 12:00:21 +0000 (20:00 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:24 +0000 (18:59 -0500)
commitc16d001bf261b70b90463248a2a99628e1fae6f8
tree377067d55ec4fe505763ffe45c7d5683400e2e4e
parent336a1c825e362aeee402e832ec276e35e0b48cda
drm/amdgpu: fix the issue of checking on message mapping

The navi10_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: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/navi10_ppt.c