OSDN Git Service

drm/amd/powerplay: add smu table context structure
authorHuang Rui <ray.huang@amd.com>
Wed, 12 Dec 2018 12:47:24 +0000 (20:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 19 Mar 2019 20:03:55 +0000 (15:03 -0500)
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>
drivers/gpu/drm/amd/powerplay/inc/amdgpu_smu.h

index 9e467d3..215902f 100644 (file)
 
 #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