From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [linux-next:master 2992/4407] 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'
Date: Tue, 19 Jan 2021 20:06:47 +0800 [thread overview]
Message-ID: <202101192042.KGQPXLAs-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5213 bytes --]
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@intel.com>
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@lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 40752 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Jun Lei <jun.lei@amd.com>
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
Linux Memory Management List <linux-mm@kvack.org>,
Alex Deucher <alexander.deucher@amd.com>,
Aric Cyr <Aric.Cyr@amd.com>
Subject: [linux-next:master 2992/4407] 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'
Date: Tue, 19 Jan 2021 20:06:47 +0800 [thread overview]
Message-ID: <202101192042.KGQPXLAs-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 5092 bytes --]
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@intel.com>
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@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 40752 bytes --]
next reply other threads:[~2021-01-19 12:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-19 12:06 kernel test robot [this message]
2021-01-19 12:06 ` [linux-next:master 2992/4407] 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' kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202101192042.KGQPXLAs-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.