drm/amd/powerplay: using valid mapping check for rn
authorAaron Liu <aaron.liu@amd.com>
Wed, 21 Aug 2019 21:45:52 +0000 (16:45 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Aug 2019 22:37:53 +0000 (17:37 -0500)
commitb5604512088bd096ccb5dc49b7779ed99afdeff0
treecdb959572683292e5961352c642ba57253cc9c21
parenta31b059b0385dae98e95d6074950c5d47de34661
drm/amd/powerplay: using valid mapping check for rn

Check whether the message mapping is valid

Signed-off-by: Aaron Liu <aaron.liu@amd.com>
Reviewed-by: Kenneth Feng <kenneth.feng@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/smu_v12_0.h
drivers/gpu/drm/amd/powerplay/renoir_ppt.c