Skip to contentSkip to conversation

drm/amd/display: Fixed panic during seamless boot.

PATCH In review Aurabindo Pillai 2 participants 3 messages Oct 23, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Fixed panic during seamless boot.

From: David Galiffi <[email protected]>

[why]
get_pixel_clk_frequency_100hz is undefined in clock_source_funcs.

[how]
set function pointer: ".get_pixel_clk_frequency_100hz = get_pixel_clk_frequency_100hz"

---
 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c +2 -1
index 512b26b3e3fd..589c7fb71480 100644
@@ -1149,7 +1149,8 @@ static uint32_t dcn3_get_pix_clk_dividers(
 static const struct clock_source_funcs dcn3_clk_src_funcs = {
 	.cs_power_down = dce110_clock_source_power_down,
 	.program_pix_clk = dcn3_program_pix_clk,
-	.get_pix_clk_dividers = dcn3_get_pix_clk_dividers
+	.get_pix_clk_dividers = dcn3_get_pix_clk_dividers,
+	.get_pixel_clk_frequency_100hz = get_pixel_clk_frequency_100hz
 };
 #endif
 /*****************************************/
Signature · 6 lines
2.25.1

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Reviewed-by on v1 1/1
#1 lore raw

[AMD Official Use Only - Internal Distribution Only]

________________________________
From: Aurabindo Pillai <[email protected]>
Sent: October 23, 2020 1:09 PM
To: [email protected] <[email protected]>
Cc: Lakha, Bhawanpreet <[email protected]>; Galiffi, David <[email protected]>
Subject: [PATCH] drm/amd/display: Fixed panic during seamless boot.

From: David Galiffi <[email protected]>

[why]
get_pixel_clk_frequency_100hz is undefined in clock_source_funcs.

[how]
set function pointer: ".get_pixel_clk_frequency_100hz = get_pixel_clk_frequency_100hz"

---
 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c +2 -1
index 512b26b3e3fd..589c7fb71480 100644
@@ -1149,7 +1149,8 @@ static uint32_t dcn3_get_pix_clk_dividers(
 static const struct clock_source_funcs dcn3_clk_src_funcs = {
         .cs_power_down = dce110_clock_source_power_down,
         .program_pix_clk = dcn3_program_pix_clk,
-       .get_pix_clk_dividers = dcn3_get_pix_clk_dividers
+       .get_pix_clk_dividers = dcn3_get_pix_clk_dividers,
+       .get_pixel_clk_frequency_100hz = get_pixel_clk_frequency_100hz
 };
 #endif
 /*****************************************/

--
2.25.1

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

#2 lore raw
Quoted 9 lines

[AMD Official Use Only - Internal Distribution Only]

Thanks for the review.

Quoted 69 lines

From: Aurabindo Pillai <[email protected]>

Sent: October 23, 2020 1:09 PM

To: [email protected] <[email protected]>

Cc: Lakha, Bhawanpreet <[email protected]>; Galiffi, David < [email protected]>

Subject: [PATCH] drm/amd/display: Fixed panic during seamless boot.

From: David Galiffi <[email protected]>

[why]

get_pixel_clk_frequency_100hz is undefined in clock_source_funcs.

[how]

set function pointer: ".get_pixel_clk_frequency_100hz = get_pixel_clk_frequency_100hz"

---

 drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c +0 -0

index 512b26b3e3fd..589c7fb71480 100644

--- a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c

+++ b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c

drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c +2 -1
@@ -1149,7 +1149,8 @@ static uint32_t dcn3_get_pix_clk_dividers(
 
 static const struct clock_source_funcs dcn3_clk_src_funcs = {
 
         .cs_power_down = dce110_clock_source_power_down,
 
         .program_pix_clk = dcn3_program_pix_clk,
 
-       .get_pix_clk_dividers = dcn3_get_pix_clk_dividers
 
+       .get_pix_clk_dividers = dcn3_get_pix_clk_dividers,
 
+       .get_pixel_clk_frequency_100hz =

get_pixel_clk_frequency_100hz

Quoted 6 lines

};

#endif

/*****************************************/

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