]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
drm/amd/display: change the max clock level to 16
authorEvan Quan <evan.quan@amd.com>
Mon, 21 Jan 2019 09:57:29 +0000 (17:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 25 Jan 2019 21:15:35 +0000 (16:15 -0500)
As the gfxclk for SMU11 can have at most 16 discrete levels.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dm_services_types.h

index 9afd36a031a97fa3116938ffd94f33a26d96ac49..77200711abbef6195f55b069d8a560579ccd36c6 100644 (file)
@@ -92,7 +92,7 @@ enum dm_pp_clock_type {
        (clk_type) == DM_PP_CLOCK_TYPE_FCLK ? "F" : \
        "Invalid"
 
-#define DM_PP_MAX_CLOCK_LEVELS 8
+#define DM_PP_MAX_CLOCK_LEVELS 16
 
 struct dm_pp_clock_levels {
        uint32_t num_levels;