]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
drm/amd/display: Delete dm_pp_clocks_state
authorTimur Kristóf <timur.kristof@gmail.com>
Tue, 19 May 2026 10:21:12 +0000 (12:21 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 May 2026 14:45:02 +0000 (10:45 -0400)
It isn't used by anything anymore.

Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Melissa Wen <mwen@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dm_services_types.h

index f114ab819afd65686675c10d254e325027022932..b3505d93503fd0f08e5d22293fe86340178651bc 100644 (file)
@@ -36,30 +36,7 @@ struct dm_pp_clock_range {
        int max_khz;
 };
 
-enum dm_pp_clocks_state {
-       DM_PP_CLOCKS_STATE_INVALID,
-       DM_PP_CLOCKS_STATE_ULTRA_LOW,
-       DM_PP_CLOCKS_STATE_LOW,
-       DM_PP_CLOCKS_STATE_NOMINAL,
-       DM_PP_CLOCKS_STATE_PERFORMANCE,
-
-       /* Starting from DCE11, Max 8 levels of DPM state supported. */
-       DM_PP_CLOCKS_DPM_STATE_LEVEL_INVALID = DM_PP_CLOCKS_STATE_INVALID,
-       DM_PP_CLOCKS_DPM_STATE_LEVEL_0,
-       DM_PP_CLOCKS_DPM_STATE_LEVEL_1,
-       DM_PP_CLOCKS_DPM_STATE_LEVEL_2,
-       /* to be backward compatible */
-       DM_PP_CLOCKS_DPM_STATE_LEVEL_3,
-       DM_PP_CLOCKS_DPM_STATE_LEVEL_4,
-       DM_PP_CLOCKS_DPM_STATE_LEVEL_5,
-       DM_PP_CLOCKS_DPM_STATE_LEVEL_6,
-       DM_PP_CLOCKS_DPM_STATE_LEVEL_7,
-
-       DM_PP_CLOCKS_MAX_STATES
-};
-
 struct dm_pp_gpu_clock_range {
-       enum dm_pp_clocks_state clock_state;
        struct dm_pp_clock_range sclk;
        struct dm_pp_clock_range mclk;
        struct dm_pp_clock_range eclk;