tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: b4bb878f3eb3e604ebfe83bbc17eb7af8d99cbf4 commit: cf3a2627597794797ce5930537c0e75df284b6e9 [2992/4407] drm/amd/display: implement T12 compliance config: powerpc-randconfig-r026-20210119 (attached as .config) compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 22b68440e1647e16b5ee24b924986207173c02d1) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # install powerpc cross compiling tool for clang build # apt-get install binutils-powerpc-linux-gnu # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=cf3a2627597794797ce5930537c0e75df284b6e9 git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git git fetch --no-tags linux-next master git checkout cf3a2627597794797ce5930537c0e75df284b6e9 # save the attached .config to linux build tree COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=powerpc If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:924:6: warning: no previous prototype for function 'dce110_edp_wait_for_T12' [-Wmissing-prototypes] void dce110_edp_wait_for_T12( ^ drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c:924:1: note: declare 'static' if the function is not intended to be used outside of this translation unit void dce110_edp_wait_for_T12( ^ static 1 warning generated. Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for ATA Depends on HAS_IOMEM && BLOCK Selected by - AKEBONO && PPC_47x WARNING: unmet direct dependencies detected for FAILOVER Depends on NET Selected by - NET_FAILOVER && NETDEVICES WARNING: unmet direct dependencies detected for PAGE_POOL Depends on NET Selected by - MVNETA && NETDEVICES && ETHERNET && NET_VENDOR_MARVELL && (ARCH_MVEBU || COMPILE_TEST - MVPP2 && NETDEVICES && ETHERNET && NET_VENDOR_MARVELL && (ARCH_MVEBU || COMPILE_TEST WARNING: unmet direct dependencies detected for NET_DEVLINK Depends on NET Selected by - ICE && NETDEVICES && ETHERNET && NET_VENDOR_INTEL && PCI_MSI WARNING: unmet direct dependencies detected for NETDEVICES Depends on NET Selected by - AKEBONO && PPC_47x WARNING: unmet direct dependencies detected for ETHERNET Depends on NETDEVICES && NET Selected by - AKEBONO && PPC_47x WARNING: unmet direct dependencies detected for PTP_1588_CLOCK_PCH Depends on (X86_32 || COMPILE_TEST && HAS_IOMEM && NET Selected by - PCH_GBE && NETDEVICES && ETHERNET && NET_VENDOR_OKI && PCI && (X86_32 || COMPILE_TEST WARNING: unmet direct dependencies detected for MMC_SDHCI Depends on MMC && HAS_DMA Selected by - AKEBONO && PPC_47x WARNING: unmet direct dependencies detected for MMC_SDHCI_PLTFM Depends on MMC && MMC_SDHCI Selected by - AKEBONO && PPC_47x WARNING: unmet direct dependencies detected for NET_PTP_CLASSIFY Depends on NET Selected by - PCH_GBE && NETDEVICES && ETHERNET && NET_VENDOR_OKI && PCI && (X86_32 || COMPILE_TEST WARNING: unmet direct dependencies detected for GRO_CELLS Depends on NET Selected by - MACSEC && NETDEVICES && NET_CORE WARNING: unmet direct dependencies detected for HWBM Depends on NET Selected by - MVNETA_BM && NETDEVICES && ETHERNET && NET_VENDOR_MARVELL && !64BIT vim +/dce110_edp_wait_for_T12 +924 drivers/gpu/drm/amd/amdgpu/../display/dc/dce110/dce110_hw_sequencer.c 923 > 924 void dce110_edp_wait_for_T12( 925 struct dc_link *link) 926 { 927 struct dc_context *ctx = link->ctx; 928 929 if (dal_graphics_object_id_get_connector_id(link->link_enc->connector) 930 != CONNECTOR_ID_EDP) { 931 BREAK_TO_DEBUGGER(); 932 return; 933 } 934 935 if (!link->panel_cntl) 936 return; 937 938 if (!link->panel_cntl->funcs->is_panel_powered_on(link->panel_cntl) && 939 link->link_trace.time_stamp.edp_poweroff != 0) { 940 unsigned int t12_duration = 500; // Default T12 as per spec 941 unsigned long long current_ts = dm_get_timestamp(ctx); 942 unsigned long long time_since_edp_poweroff_ms = 943 div64_u64(dm_get_elapse_time_in_ns( 944 ctx, 945 current_ts, 946 link->link_trace.time_stamp.edp_poweroff), 1000000); 947 948 t12_duration += link->local_sink->edid_caps.panel_patch.extra_t12_ms; // Add extra T12 949 950 if (time_since_edp_poweroff_ms < t12_duration) 951 msleep(t12_duration - time_since_edp_poweroff_ms); 952 } 953 } 954 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip