]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/powerplay: refine struct name for code style reason.
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 31 Aug 2016 09:25:49 +0000 (17:25 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Sep 2016 15:31:34 +0000 (11:31 -0400)
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/hwmgr/processpptables.c
drivers/gpu/drm/amd/powerplay/inc/hwmgr.h
drivers/gpu/drm/amd/powerplay/inc/power_state.h

index 6c321b0d8a1eb8483c45bf563f79adb000a87865..ccf7ebeaf89267a830c1f2a0d3ecb1f22fe693f6 100644 (file)
@@ -1523,7 +1523,7 @@ int get_number_of_vce_state_table_entries(
 
 int get_vce_state_table_entry(struct pp_hwmgr *hwmgr,
                                                        unsigned long i,
-                                                       struct PP_VCEState *vce_state,
+                                                       struct pp_vce_state *vce_state,
                                                        void **clock_info,
                                                        unsigned long *flag)
 {
index aca94e0cac6f89845f2991ed1602eb74107b64a3..25f4b428fe5a875feb21f92f309d307da1e06af2 100644 (file)
@@ -36,7 +36,7 @@ struct pp_instance;
 struct pp_hwmgr;
 struct pp_hw_power_state;
 struct pp_power_state;
-struct PP_VCEState;
+struct pp_vce_state;
 struct phm_fan_speed_info;
 struct pp_atomctrl_voltage_table;
 
@@ -354,7 +354,7 @@ struct pp_table_func {
        int (*pptable_get_vce_state_table_entry)(
                                                struct pp_hwmgr *hwmgr,
                                                unsigned long i,
-                                               struct PP_VCEState *vce_state,
+                                               struct pp_vce_state *vce_state,
                                                void **clock_info,
                                                unsigned long *flag);
 };
index a3f0ce4d58355395ad04b1f287369a15f162daa0..08b4b9f1c6aa83223c0b4bc77657d178c701ff85 100644 (file)
@@ -158,7 +158,7 @@ struct pp_power_state {
 
 
 /*Structure to hold a VCE state entry*/
-struct PP_VCEState {
+struct pp_vce_state {
        uint32_t evclk;
        uint32_t ecclk;
        uint32_t sclk;