drm/amd/powerplay: don't include the smu11 driver if header in smu v11 (v2)
authorHuang Rui <ray.huang@amd.com>
Sun, 31 Mar 2019 08:08:21 +0000 (16:08 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:26 +0000 (18:59 -0500)
commit013fd3a61a827c65491b0bb9ad3c0417f09c8146
tree0ecf20458a36c094db21a0152a570c14a5f78496
parent6a36e3e57c0cbcb9168cc1564ff37179cb110b52
drm/amd/powerplay: don't include the smu11 driver if header in smu v11 (v2)

This header is actually for each asic, so we should not include in smu_v11_0.c.
And rename the one for navi10.

v2: add hack for XGMI (Alex)

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/inc/smu11_driver_if_navi10.h [new file with mode: 0644]
drivers/gpu/drm/amd/powerplay/inc/smu_11_0_driver_if.h [deleted file]
drivers/gpu/drm/amd/powerplay/navi10_ppt.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c