]> asedeno.scripts.mit.edu Git - linux.git/commit
drm/amd/powerplay: implement smu_init[fini]_smc_tables for smu11
authorKevin Wang <Kevin1.Wang@amd.com>
Fri, 14 Dec 2018 09:43:57 +0000 (17:43 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:55 +0000 (15:03 -0500)
commit813ce279448e7d5af183571b99d8ca7f605188b8
tree667e24490bbda270ad2b6a47ae52bf4d2283df0e
parent244f3449285f4463270882154d88b9df0ac620a5
drm/amd/powerplay: implement smu_init[fini]_smc_tables for smu11

Each SMU IP may have a different number of SMU tables, so these tables
are allocated using dynamic memory

Signed-off-by: Kevin Wang <Kevin1.Wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h
drivers/gpu/drm/amd/powerplay/smu_v11_0.c