drm/amdgpu/pm: use the specific mailbox registers only for SMU IP v13.0.4
authorTim Huang <tim.huang@amd.com>
Mon, 24 Oct 2022 03:05:59 +0000 (11:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 29 Nov 2022 16:03:37 +0000 (11:03 -0500)
commit069a5af97ce3a1448a3566ce8b63b60e51e19958
tree7522ec3952dfbe13ebd0eca7c4df6af162a699cb
parent18ad18853cf2d8b94cef0112ba94f7a7535a9e89
drm/amdgpu/pm: use the specific mailbox registers only for SMU IP v13.0.4

The SMU IP v13.0.4 ppt interface is shared by IP v13.0.11, they use
the different mailbox register offset. So use the specific mailbox
registers offset for v13.0.4.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Signed-off-by: Yifan Zhang <yifan1.zhang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_4_ppt.c