Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47329134 authored by Rex Zhu's avatar Rex Zhu Committed by Alex Deucher
Browse files

drm/amd/powerplay: change struct name.



amd_pp_dal_clock_info to amd_pp_simple_clock_info.

Signed-off-by: default avatarRex Zhu <Rex.Zhu@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 781095f9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -764,7 +764,7 @@ int amd_powerplay_display_configuration_change(void *handle, const void *input)
}

int amd_powerplay_get_display_power_level(void *handle,
		struct amd_pp_dal_clock_info *output)
		struct amd_pp_simple_clock_info *output)
{
	struct pp_hwmgr  *hwmgr;

+2 −2
Original line number Diff line number Diff line
@@ -1679,7 +1679,7 @@ static void cz_hw_print_display_cfg(
}

 static int cz_get_dal_power_level(struct pp_hwmgr *hwmgr,
		struct amd_pp_dal_clock_info*info)
		struct amd_pp_simple_clock_info *info)
{
	uint32_t i;
	const struct phm_clock_voltage_dependency_table *table =
+1 −1
Original line number Diff line number Diff line
@@ -313,7 +313,7 @@ int phm_store_dal_configuration_data(struct pp_hwmgr *hwmgr,
}

int phm_get_dal_power_level(struct pp_hwmgr *hwmgr,
		struct amd_pp_dal_clock_info *info)
		struct amd_pp_simple_clock_info *info)
{
	PHM_FUNC_CHECK(hwmgr);

+2 −2
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ struct amd_pp_display_configuration {
	uint32_t dce_tolerable_mclk_in_active_latency;
};

struct amd_pp_dal_clock_info {
struct amd_pp_simple_clock_info {
	uint32_t	engine_max_clock;
	uint32_t	memory_max_clock;
	uint32_t	level;
@@ -310,7 +310,7 @@ int amd_powerplay_fini(void *handle);
int amd_powerplay_display_configuration_change(void *handle, const void *input);

int amd_powerplay_get_display_power_level(void *handle,
		struct amd_pp_dal_clock_info *output);
		struct amd_pp_simple_clock_info *output);


#endif /* _AMD_POWERPLAY_H_ */
+1 −1
Original line number Diff line number Diff line
@@ -375,7 +375,7 @@ extern int phm_store_dal_configuration_data(struct pp_hwmgr *hwmgr,
		const struct amd_pp_display_configuration *display_config);

extern int phm_get_dal_power_level(struct pp_hwmgr *hwmgr,
		struct amd_pp_dal_clock_info*info);
		struct amd_pp_simple_clock_info *info);

extern int phm_set_cpu_power_state(struct pp_hwmgr *hwmgr);

Loading