Skip to contentSkip to conversation

- commit 'Set disp clk in a safe way to avoid over high dpp clk.' makes 'CONFIG_DRM_AMD_DC_DCN1_0=y' mandatory, again

amd-staging-drm-next Dieter Nützel 2 participants 2 messages Mar 14, 2018 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Hello,

commit # 680acc64120cd7fe4fb21d816a0fc0854018fe59 drm/amd/display: Set disp clk in a safe way to avoid over high dpp clk.

makes CONFIG_DRM_AMD_DC_DCN1_0=y mandatory, again. I think it was not intentional?

Without it I get:

Kernel: arch/x86/boot/bzImage is ready (#1)
ERROR: "dcn_find_dcfclk_suits_all" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined! make[1]: *** [scripts/Makefile.modpost:92: __modpost] Fehler 1
make: *** [Makefile:1257: modules] Fehler 2

drm/amd> grep -r dcn_find_dcfclk_suits_all *
Übereinstimmungen in Binärdatei amdgpu/amdgpu.o display/dc/calcs/dcn_calcs.c:unsigned int dcn_find_dcfclk_suits_all( display/dc/inc/dcn_calcs.h:unsigned int dcn_find_dcfclk_suits_all(
display/dc/dce/dce_clocks.c: dcn_find_dcfclk_suits_all(core_dc, &clk->cur_clocks_value);
Übereinstimmungen in Binärdatei display/dc/dce/dce_clocks.o
drm/amd> l display/dc/calcs/dcn_calcs.c display/dc/inc/dcn_calcs.h display/dc/dce/dce_clocks.c -rw-r--r-- 1 dieter users 66423 13. Mär 23:08 display/dc/calcs/dcn_calcs.c -rw-r--r-- 1 dieter users 25680 13. Mär 23:08 display/dc/dce/dce_clocks.c -rw-r--r-- 1 dieter users 26059 20. Dez 22:07 display/dc/inc/dcn_calcs.h

Thanks,
Dieter
_______________________________________________
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): faee090fd76e919687d9462fb1a2d7f6-0hun7QTegEsDD4udEopG9Q@public.gmane.org

#2 lore raw
Quoted 7 lines · Dieter Nützel

Hello,

commit # 680acc64120cd7fe4fb21d816a0fc0854018fe59 drm/amd/display: Set disp clk in a safe way to avoid over high dpp clk.

makes CONFIG_DRM_AMD_DC_DCN1_0=y mandatory, again. I think it was not intentional?

Fixed in:
https://patchwork.freedesktop.org/patch/210347/

Alex

Quoted 22 lines

Without it I get:

Kernel: arch/x86/boot/bzImage is ready (#1)
ERROR: "dcn_find_dcfclk_suits_all" [drivers/gpu/drm/amd/amdgpu/amdgpu.ko] undefined!
make[1]: *** [scripts/Makefile.modpost:92: __modpost] Fehler 1
make: *** [Makefile:1257: modules] Fehler 2

drm/amd> grep -r dcn_find_dcfclk_suits_all * Übereinstimmungen in Binärdatei amdgpu/amdgpu.o display/dc/calcs/dcn_calcs.c:unsigned int dcn_find_dcfclk_suits_all( display/dc/inc/dcn_calcs.h:unsigned int dcn_find_dcfclk_suits_all( display/dc/dce/dce_clocks.c:
dcn_find_dcfclk_suits_all(core_dc, &clk->cur_clocks_value); Übereinstimmungen in Binärdatei display/dc/dce/dce_clocks.o drm/amd> l display/dc/calcs/dcn_calcs.c display/dc/inc/dcn_calcs.h display/dc/dce/dce_clocks.c

(quoted diff) +0 -3
-rw-r--r-- 1 dieter users 66423 13. Mär 23:08 display/dc/calcs/dcn_calcs.c
-rw-r--r-- 1 dieter users 25680 13. Mär 23:08 display/dc/dce/dce_clocks.c
-rw-r--r-- 1 dieter users 26059 20. Dez 22:07 display/dc/inc/dcn_calcs.h
Quoted 6 lines

Thanks,
Dieter
_______________________________________________
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