Skip to contentSkip to conversation

drm/amd/display: change the max clock level to 16

PATCH In review Evan Quan 2 participants 2 messages Jan 21, 2019 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

Evan Quan

author
#0 lore raw

PATCH 1/1 drm/amd/display: change the max clock level to 16

As the gfxclk for SMU11 can have at most 16 discrete levels.

Change-Id I0c6a8db8f40206a240286471c6f7b1fffef15ea2
---
 drivers/gpu/drm/amd/display/dc/dm_services_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dm_services_types.h +1 -1
index 9afd36a031a9..77200711abbe 100644
@@ -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;
Signature · 6 lines
2.20.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): [email protected]

Acked-by
#2 lore raw
Quoted 5 lines · Evan Quan

As the gfxclk for SMU11 can have at most 16 discrete levels.

Change-Id I0c6a8db8f40206a240286471c6f7b1fffef15ea2
Quoted 20 lines
---
 drivers/gpu/drm/amd/display/dc/dm_services_types.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dm_services_types.h +1 -2
index 9afd36a031a9..77200711abbe 100644
@@ -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;
--

2.20.1

Quoted 4 lines

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx