[PATCH] drm/amd/display: Fixed panic during seamless boot.
Aurabindo Pillai
aurabindo.pillai at amd.com
Fri Oct 23 19:10:26 UTC 2020
> [AMD Official Use Only - Internal Distribution Only]
>
>
>
>
>
>
>
> Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha at amd.com>
Thanks for the review.
>
>
>
>
> From: Aurabindo Pillai <aurabindo.pillai at amd.com>
>
> Sent: October 23, 2020 1:09 PM
>
> To: amd-gfx at lists.freedesktop.org <amd-gfx at lists.freedesktop.org>
>
> Cc: Lakha, Bhawanpreet <Bhawanpreet.Lakha at amd.com>; Galiffi, David <
> David.Galiffi at amd.com>
>
> Subject: [PATCH] drm/amd/display: Fixed panic during seamless boot.
>
>
>
>
> From: David Galiffi <David.Galiffi at amd.com>
>
>
>
> [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"
>
>
>
> Signed-off-by: David Galiffi <David.Galiffi at amd.com>
>
> ---
>
> drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c | 3 ++-
>
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
>
>
> diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
> b/drivers/gpu/drm/amd/display/dc/dce/dce_clock_source.c
>
> 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
>
> @@ -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
>
> /*****************************************/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20201023/c6fd5f3e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20201023/c6fd5f3e/attachment.sig>
More information about the amd-gfx
mailing list