From: Huang Rui Date: Wed, 12 Dec 2018 12:47:24 +0000 (+0800) Subject: drm/amd/powerplay: add smu table context structure X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=2cf543ed4f3b70f9f1eeadf4a7cbf656d39ad30e;p=openwrt%2Fstaging%2Fblogic.git drm/amd/powerplay: add smu table context structure This patch adds smu table context. Signed-off-by: Huang Rui Reviewed-by: Kevin Wang Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h index 9e467d32aa85..215902fdbd8d 100644 --- a/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h +++ b/drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h @@ -24,12 +24,20 @@ #include "amdgpu.h" +struct smu_table_context +{ + void *power_play_table; + uint32_t power_play_table_size; +}; + struct smu_context { struct amdgpu_device *adev; const struct smu_funcs *funcs; struct mutex mutex; + + struct smu_table_context smu_table; }; struct smu_funcs