Commit 2cf543ed authored by Huang Rui's avatar Huang Rui Committed by Alex Deucher

drm/amd/powerplay: add smu table context structure

This patch adds smu table context.
Signed-off-by: default avatarHuang Rui <ray.huang@amd.com>
Reviewed-by: default avatarKevin Wang <Kevin1.Wang@amd.com>
Acked-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 0ae6afbf
...@@ -24,12 +24,20 @@ ...@@ -24,12 +24,20 @@
#include "amdgpu.h" #include "amdgpu.h"
struct smu_table_context
{
void *power_play_table;
uint32_t power_play_table_size;
};
struct smu_context struct smu_context
{ {
struct amdgpu_device *adev; struct amdgpu_device *adev;
const struct smu_funcs *funcs; const struct smu_funcs *funcs;
struct mutex mutex; struct mutex mutex;
struct smu_table_context smu_table;
}; };
struct smu_funcs struct smu_funcs
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment