From: Evan Quan Date: Mon, 21 Jan 2019 09:57:29 +0000 (+0800) Subject: drm/amd/display: change the max clock level to 16 X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0bcaefa6bfc2e11b6d32675c872d765ba69cd9d0;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: change the max clock level to 16 As the gfxclk for SMU11 can have at most 16 discrete levels. Signed-off-by: Evan Quan Acked-by: Alex Deucher Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dm_services_types.h b/drivers/gpu/drm/amd/display/dc/dm_services_types.h index 9afd36a031a9..77200711abbe 100644 --- a/drivers/gpu/drm/amd/display/dc/dm_services_types.h +++ b/drivers/gpu/drm/amd/display/dc/dm_services_types.h @@ -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;