]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: init table_count for smu tables on asic level
authorHuang Rui <ray.huang@amd.com>
Fri, 29 Mar 2019 10:07:23 +0000 (18:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:26 +0000 (18:59 -0500)
commite75770370dd42d4f37826cd780208f1950ab894d
treeb8aeab8d340dc3c0d3ac988d7bde2ae1ba7b1144
parentb64d63fab51457ddc6609e415ba0fa1fe0bf4460
drm/amd/powerplay: init table_count for smu tables on asic level

TABLE_COUNT should be inited in asic level. Because the value may be different
on each asic even on the same ip.

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