* [radeon-alex:amd-20.45 1953/2427] drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:5: warning: no previous prototype for function 'dce60_get_dp_ref_freq_khz'
@ 2020-12-15 10:23 kernel test robot
2020-12-15 19:13 ` Mauro Rossi
0 siblings, 1 reply; 3+ messages in thread
From: kernel test robot @ 2020-12-15 10:23 UTC (permalink / raw)
To: Mauro Rossi
Cc: Alex Deucher, clang-built-linux, kbuild-all, dri-devel,
Yang Xiong
[-- Attachment #1: Type: text/plain, Size: 4052 bytes --]
tree: git://people.freedesktop.org/~agd5f/linux.git amd-20.45
head: a3950d94b046fb206e58fd3ec717f071c0203ba3
commit: e809646e73921328d66a2fbfddf067b9cdb30998 [1953/2427] drm/amd/display: enable SI support in the Kconfig (v2)
config: x86_64-randconfig-a001-20201214 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project a29ecca7819a6ed4250d3689b12b1f664bb790d7)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git
git fetch --no-tags radeon-alex amd-20.45
git checkout e809646e73921328d66a2fbfddf067b9cdb30998
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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/clk_mgr/dce60/dce60_clk_mgr.c:83:5: warning: no previous prototype for function 'dce60_get_dp_ref_freq_khz' [-Wmissing-prototypes]
int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
^
static
1 warning generated.
vim +/dce60_get_dp_ref_freq_khz +83 drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 82
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 @83 int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 84 {
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 85 struct clk_mgr_internal *clk_mgr = TO_CLK_MGR_INTERNAL(clk_mgr_base);
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 86 int dprefclk_wdivider;
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 87 int dp_ref_clk_khz;
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 88 int target_div;
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 89
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 90 /* DCE6 has no DPREFCLK_CNTL to read DP Reference Clock source */
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 91
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 92 /* Read the mmDENTIST_DISPCLK_CNTL to get the currently
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 93 * programmed DID DENTIST_DPREFCLK_WDIVIDER*/
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 94 REG_GET(DENTIST_DISPCLK_CNTL, DENTIST_DPREFCLK_WDIVIDER, &dprefclk_wdivider);
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 95
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 96 /* Convert DENTIST_DPREFCLK_WDIVIDERto actual divider*/
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 97 target_div = dentist_get_divider_from_did(dprefclk_wdivider);
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 98
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 99 /* Calculate the current DFS clock, in kHz.*/
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 100 dp_ref_clk_khz = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 101 * clk_mgr->base.dentist_vco_freq_khz) / target_div;
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 102
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 103 return dce_adjust_dp_ref_freq_for_ss(clk_mgr, dp_ref_clk_khz);
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 104 }
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 105
:::::: The code at line 83 was first introduced by commit
:::::: 2428ad5c6ece1a6861278c01c5e71c8ea258f3d9 drm/amd/display: dc/clk_mgr: add support for SI parts (v2)
:::::: TO: Mauro Rossi <issor.oruam@gmail.com>
:::::: CC: Yang Xiong <Yang.Xiong@amd.com>
---
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: 29056 bytes --]
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [radeon-alex:amd-20.45 1953/2427] drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:5: warning: no previous prototype for function 'dce60_get_dp_ref_freq_khz'
2020-12-15 10:23 [radeon-alex:amd-20.45 1953/2427] drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:5: warning: no previous prototype for function 'dce60_get_dp_ref_freq_khz' kernel test robot
@ 2020-12-15 19:13 ` Mauro Rossi
2020-12-15 19:28 ` Deucher, Alexander
0 siblings, 1 reply; 3+ messages in thread
From: Mauro Rossi @ 2020-12-15 19:13 UTC (permalink / raw)
To: kernel test robot, Alex Deucher
Cc: clang-built-linux, kbuild-all, ML dri-devel, Yang Xiong
[-- Attachment #1.1: Type: text/plain, Size: 4603 bytes --]
Hello,
the mentioned branch requires the following commit, but it is already
applied in 5.10 released kernel,
so I really do not know what next step here.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8c4e4fd607b17973e54a7e9cc4c275b12ab7308e
Mauro
On Tue, Dec 15, 2020 at 11:24 AM kernel test robot <lkp@intel.com> wrote:
> tree: git://people.freedesktop.org/~agd5f/linux.git amd-20.45
> head: a3950d94b046fb206e58fd3ec717f071c0203ba3
> commit: e809646e73921328d66a2fbfddf067b9cdb30998 [1953/2427]
> drm/amd/display: enable SI support in the Kconfig (v2)
> config: x86_64-randconfig-a001-20201214 (attached as .config)
> compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project
> a29ecca7819a6ed4250d3689b12b1f664bb790d7)
> 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 x86_64 cross compiling tool for clang build
> # apt-get install binutils-x86-64-linux-gnu
> git remote add radeon-alex git://
> people.freedesktop.org/~agd5f/linux.git
> git fetch --no-tags radeon-alex amd-20.45
> git checkout e809646e73921328d66a2fbfddf067b9cdb30998
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross
> ARCH=x86_64
>
> 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/clk_mgr/dce60/dce60_clk_mgr.c:83:5:
> warning: no previous prototype for function 'dce60_get_dp_ref_freq_khz'
> [-Wmissing-prototypes]
> int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
> ^
>
> drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:1:
> note: declare 'static' if the function is not intended to be used outside
> of this translation unit
> int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
> ^
> static
> 1 warning generated.
>
> vim +/dce60_get_dp_ref_freq_khz +83
> drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c
>
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 82
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 @83 int
> dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 84 {
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 85 struct clk_mgr_internal
> *clk_mgr = TO_CLK_MGR_INTERNAL(clk_mgr_base);
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 86 int dprefclk_wdivider;
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 87 int dp_ref_clk_khz;
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 88 int target_div;
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 89
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 90 /* DCE6 has no
> DPREFCLK_CNTL to read DP Reference Clock source */
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 91
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 92 /* Read the
> mmDENTIST_DISPCLK_CNTL to get the currently
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 93 * programmed DID
> DENTIST_DPREFCLK_WDIVIDER*/
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 94
> REG_GET(DENTIST_DISPCLK_CNTL, DENTIST_DPREFCLK_WDIVIDER,
> &dprefclk_wdivider);
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 95
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 96 /* Convert
> DENTIST_DPREFCLK_WDIVIDERto actual divider*/
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 97 target_div =
> dentist_get_divider_from_did(dprefclk_wdivider);
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 98
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 99 /* Calculate the current
> DFS clock, in kHz.*/
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 100 dp_ref_clk_khz =
> (DENTIST_DIVIDER_RANGE_SCALE_FACTOR
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 101 *
> clk_mgr->base.dentist_vco_freq_khz) / target_div;
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 102
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 103 return
> dce_adjust_dp_ref_freq_for_ss(clk_mgr, dp_ref_clk_khz);
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 104 }
> 2428ad5c6ece1a6 Mauro Rossi 2020-07-11 105
>
> :::::: The code at line 83 was first introduced by commit
> :::::: 2428ad5c6ece1a6861278c01c5e71c8ea258f3d9 drm/amd/display:
> dc/clk_mgr: add support for SI parts (v2)
>
> :::::: TO: Mauro Rossi <issor.oruam@gmail.com>
> :::::: CC: Yang Xiong <Yang.Xiong@amd.com>
>
> ---
> 0-DAY CI Kernel Test Service, Intel Corporation
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
>
[-- Attachment #1.2: Type: text/html, Size: 6142 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [radeon-alex:amd-20.45 1953/2427] drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:5: warning: no previous prototype for function 'dce60_get_dp_ref_freq_khz'
2020-12-15 19:13 ` Mauro Rossi
@ 2020-12-15 19:28 ` Deucher, Alexander
0 siblings, 0 replies; 3+ messages in thread
From: Deucher, Alexander @ 2020-12-15 19:28 UTC (permalink / raw)
To: Mauro Rossi, kernel test robot
Cc: clang-built-linux@googlegroups.com, kbuild-all@lists.01.org,
ML dri-devel, Xiong, Yang (Felix)
[-- Attachment #1.1: Type: text/plain, Size: 8073 bytes --]
[AMD Public Use]
this branch should be ignored by test robots. It's just a public mirror of our packaged driver source code. It contains kernel compatibility and dkms support which is not going upstream.
Alex
________________________________
From: Mauro Rossi <issor.oruam@gmail.com>
Sent: Tuesday, December 15, 2020 2:13 PM
To: kernel test robot <lkp@intel.com>; Deucher, Alexander <Alexander.Deucher@amd.com>
Cc: kbuild-all@lists.01.org <kbuild-all@lists.01.org>; clang-built-linux@googlegroups.com <clang-built-linux@googlegroups.com>; ML dri-devel <dri-devel@lists.freedesktop.org>; Xiong, Yang (Felix) <Yang.Xiong@amd.com>
Subject: Re: [radeon-alex:amd-20.45 1953/2427] drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:5: warning: no previous prototype for function 'dce60_get_dp_ref_freq_khz'
Hello,
the mentioned branch requires the following commit, but it is already applied in 5.10 released kernel,
so I really do not know what next step here.
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8c4e4fd607b17973e54a7e9cc4c275b12ab7308e<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgit.kernel.org%2Fpub%2Fscm%2Flinux%2Fkernel%2Fgit%2Fstable%2Flinux.git%2Fcommit%2F%3Fid%3D8c4e4fd607b17973e54a7e9cc4c275b12ab7308e&data=04%7C01%7Calexander.deucher%40amd.com%7C2ccddb80b2194b87979e08d8a12d78e3%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637436563973465049%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=4s%2Br5bporx1FuRLkI%2FJbJug4qPqKaIxwu6DJCaCG01U%3D&reserved=0>
Mauro
On Tue, Dec 15, 2020 at 11:24 AM kernel test robot <lkp@intel.com<mailto:lkp@intel.com>> wrote:
tree: git://people.freedesktop.org/~agd5f/linux.git<https://nam11.safelinks.protection.outlook.com/?url=http:%2F%2Fpeople.freedesktop.org%2F~agd5f%2Flinux.git&data=04%7C01%7Calexander.deucher%40amd.com%7C2ccddb80b2194b87979e08d8a12d78e3%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637436563973475007%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=AwRdBRY9CLM5kV4FvQeKFMR1t8R6uEU%2BOvVLkhqQmwQ%3D&reserved=0> amd-20.45
head: a3950d94b046fb206e58fd3ec717f071c0203ba3
commit: e809646e73921328d66a2fbfddf067b9cdb30998 [1953/2427] drm/amd/display: enable SI support in the Kconfig (v2)
config: x86_64-randconfig-a001-20201214 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fllvm%2Fllvm-project&data=04%7C01%7Calexander.deucher%40amd.com%7C2ccddb80b2194b87979e08d8a12d78e3%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637436563973475007%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=pR0HOEIksASstlWPFMR8Eq9e6v%2BTPBQ8lhfPVy%2Bu1iI%3D&reserved=0> a29ecca7819a6ed4250d3689b12b1f664bb790d7)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fraw.githubusercontent.com%2Fintel%2Flkp-tests%2Fmaster%2Fsbin%2Fmake.cross&data=04%7C01%7Calexander.deucher%40amd.com%7C2ccddb80b2194b87979e08d8a12d78e3%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637436563973484960%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=J9LnzLuz5PGRhi4YFVdiTNq8sQUJ3igy%2FtJWq3BrsSE%3D&reserved=0> -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add radeon-alex git://people.freedesktop.org/~agd5f/linux.git<https://nam11.safelinks.protection.outlook.com/?url=http:%2F%2Fpeople.freedesktop.org%2F~agd5f%2Flinux.git&data=04%7C01%7Calexander.deucher%40amd.com%7C2ccddb80b2194b87979e08d8a12d78e3%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637436563973484960%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=a%2FwjGAjiR1C5wpjwPtmt%2BLkwVcix2gwFzsBvYB8PmDs%3D&reserved=0>
git fetch --no-tags radeon-alex amd-20.45
git checkout e809646e73921328d66a2fbfddf067b9cdb30998
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com<mailto:lkp@intel.com>>
All warnings (new ones prefixed by >>):
>> drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:5: warning: no previous prototype for function 'dce60_get_dp_ref_freq_khz' [-Wmissing-prototypes]
int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
^
drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
^
static
1 warning generated.
vim +/dce60_get_dp_ref_freq_khz +83 drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 82
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 @83 int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 84 {
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 85 struct clk_mgr_internal *clk_mgr = TO_CLK_MGR_INTERNAL(clk_mgr_base);
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 86 int dprefclk_wdivider;
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 87 int dp_ref_clk_khz;
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 88 int target_div;
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 89
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 90 /* DCE6 has no DPREFCLK_CNTL to read DP Reference Clock source */
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 91
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 92 /* Read the mmDENTIST_DISPCLK_CNTL to get the currently
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 93 * programmed DID DENTIST_DPREFCLK_WDIVIDER*/
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 94 REG_GET(DENTIST_DISPCLK_CNTL, DENTIST_DPREFCLK_WDIVIDER, &dprefclk_wdivider);
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 95
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 96 /* Convert DENTIST_DPREFCLK_WDIVIDERto actual divider*/
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 97 target_div = dentist_get_divider_from_did(dprefclk_wdivider);
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 98
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 99 /* Calculate the current DFS clock, in kHz.*/
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 100 dp_ref_clk_khz = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 101 * clk_mgr->base.dentist_vco_freq_khz) / target_div;
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 102
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 103 return dce_adjust_dp_ref_freq_for_ss(clk_mgr, dp_ref_clk_khz);
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 104 }
2428ad5c6ece1a6 Mauro Rossi 2020-07-11 105
:::::: The code at line 83 was first introduced by commit
:::::: 2428ad5c6ece1a6861278c01c5e71c8ea258f3d9 drm/amd/display: dc/clk_mgr: add support for SI parts (v2)
:::::: TO: Mauro Rossi <issor.oruam@gmail.com<mailto:issor.oruam@gmail.com>>
:::::: CC: Yang Xiong <Yang.Xiong@amd.com<mailto:Yang.Xiong@amd.com>>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.01.org%2Fhyperkitty%2Flist%2Fkbuild-all%40lists.01.org&data=04%7C01%7Calexander.deucher%40amd.com%7C2ccddb80b2194b87979e08d8a12d78e3%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637436563973494918%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Byv0OS%2F6hHj3RDlt5qF7YxWIiNLvD91r%2Bd1APoUzDkE%3D&reserved=0>
[-- Attachment #1.2: Type: text/html, Size: 12617 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2020-12-15 19:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-15 10:23 [radeon-alex:amd-20.45 1953/2427] drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c:83:5: warning: no previous prototype for function 'dce60_get_dp_ref_freq_khz' kernel test robot
2020-12-15 19:13 ` Mauro Rossi
2020-12-15 19:28 ` Deucher, Alexander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox