drm/amd/powerplay: modify smu_update_table to use SMU_TABLE_xxx as the input
authorHuang Rui <ray.huang@amd.com>
Sun, 31 Mar 2019 04:02:00 +0000 (12:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:26 +0000 (18:59 -0500)
commit33bd73ae6c615754cffb94336abbbd8bb841eb34
treed5cda9f35c6c4b5a4778770fcf7db05fdcdd3db3
parent8b2ae145de4cd263b96c67d5ba936cd0c896b0c2
drm/amd/powerplay: modify smu_update_table to use SMU_TABLE_xxx as the input

Table id may be different for each asic, so it's good to use this as the input
for common interface.

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/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/smu_v11_0.c