mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-15 02:45:06 +00:00
drm/amd/powerplay: add smu table context structure
This patch adds smu table context. Signed-off-by: Huang Rui <ray.huang@amd.com> Reviewed-by: Kevin Wang <Kevin1.Wang@amd.com> Acked-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
0ae6afbffe
commit
2cf543ed4f
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue