mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 14:02:06 -04:00
drm/amd/display: Remove unused dm_pp_ interfaces
Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
committed by
Alex Deucher
parent
fdf0c1c2f7
commit
627c9a0a50
@@ -71,15 +71,6 @@ bool dm_read_persistent_data(struct dc_context *ctx,
|
||||
|
||||
/**** power component interfaces ****/
|
||||
|
||||
bool dm_pp_pre_dce_clock_change(
|
||||
struct dc_context *ctx,
|
||||
struct dm_pp_gpu_clock_range *requested_state,
|
||||
struct dm_pp_gpu_clock_range *actual_state)
|
||||
{
|
||||
/*TODO*/
|
||||
return false;
|
||||
}
|
||||
|
||||
bool dm_pp_apply_display_requirements(
|
||||
const struct dc_context *ctx,
|
||||
const struct dm_pp_display_configuration *pp_display_cfg)
|
||||
@@ -151,30 +142,6 @@ bool dm_pp_apply_display_requirements(
|
||||
return true;
|
||||
}
|
||||
|
||||
bool dc_service_get_system_clocks_range(
|
||||
const struct dc_context *ctx,
|
||||
struct dm_pp_gpu_clock_range *sys_clks)
|
||||
{
|
||||
struct amdgpu_device *adev = ctx->driver_context;
|
||||
|
||||
/* Default values, in case PPLib is not compiled-in. */
|
||||
sys_clks->mclk.max_khz = 800000;
|
||||
sys_clks->mclk.min_khz = 800000;
|
||||
|
||||
sys_clks->sclk.max_khz = 600000;
|
||||
sys_clks->sclk.min_khz = 300000;
|
||||
|
||||
if (adev->pm.dpm_enabled) {
|
||||
sys_clks->mclk.max_khz = amdgpu_dpm_get_mclk(adev, false);
|
||||
sys_clks->mclk.min_khz = amdgpu_dpm_get_mclk(adev, true);
|
||||
|
||||
sys_clks->sclk.max_khz = amdgpu_dpm_get_sclk(adev, false);
|
||||
sys_clks->sclk.min_khz = amdgpu_dpm_get_sclk(adev, true);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
static void get_default_clock_levels(
|
||||
enum dm_pp_clock_type clk_type,
|
||||
struct dm_pp_clock_levels *clks)
|
||||
|
||||
Reference in New Issue
Block a user