<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<p style="font-family:Arial;font-size:10pt;color:#317100;margin:15pt;" align="Left">
[AMD Public Use]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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. 
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Alex</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Mauro Rossi <issor.oruam@gmail.com><br>
<b>Sent:</b> Tuesday, December 15, 2020 2:13 PM<br>
<b>To:</b> kernel test robot <lkp@intel.com>; Deucher, Alexander <Alexander.Deucher@amd.com><br>
<b>Cc:</b> 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><br>
<b>Subject:</b> 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'</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div dir="ltr">Hello,
<div>the mentioned branch requires the following commit, but it is already applied in 5.10 released kernel,</div>
<div>so I really do not know what next step here.</div>
<div><br>
</div>
<div><a href="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" originalsrc="https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8c4e4fd607b17973e54a7e9cc4c275b12ab7308e" shash="b7/FCDnvPh/sOaJ4yyzqer0lptzPT/0bSQJSzA6OQEaScrfifui/N3l2keMi2NE0kdDbzUNmH3H6mkLOafjDFvYfi4OFTeo65F4Cf1u50uXxxWJjsxeahu7RCE1cv76u8OSBh8gDVAJIo+iguAEpblJCwKXmWZgjtABmTpCM2Fc=">https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=8c4e4fd607b17973e54a7e9cc4c275b12ab7308e</a><br>
</div>
<div><br>
</div>
<div>Mauro</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Tue, Dec 15, 2020 at 11:24 AM kernel test robot <<a href="mailto:lkp@intel.com">lkp@intel.com</a>> wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
tree:   git://<a href="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" originalsrc="http://people.freedesktop.org/~agd5f/linux.git" shash="Ok3cQXelRh3q4vwuE3hiLkzN7ZJy+UfBjEjpH6f0muuax+mFVlzm6lgugp55w5dbnxeV4vMD3KMrzNtC2C7acabk6pKvczhmzAmaXwnrVhBEtnjF5BByRMFE5DUyDpE0caXSNdHroCgybGr1scwGlkmLnYhW7g2lvx4LinceTaY=" rel="noreferrer" target="_blank">people.freedesktop.org/~agd5f/linux.git</a>
 amd-20.45<br>
head:   a3950d94b046fb206e58fd3ec717f071c0203ba3<br>
commit: e809646e73921328d66a2fbfddf067b9cdb30998 [1953/2427] drm/amd/display: enable SI support in the Kconfig (v2)<br>
config: x86_64-randconfig-a001-20201214 (attached as .config)<br>
compiler: clang version 12.0.0 (<a href="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" originalsrc="https://github.com/llvm/llvm-project" shash="q87WDUGyKIyHfFb7mQZBUUsEtaNFDYfdKXUKwBhr0Bikn2PLhUP4xRgXrffe97v0ymtPXmn742FfEsmqi44lf4ovfPLk+TWw8dEq6qxD72qgemTNbW3t1fblehK4gb0qJJdwaG0+mWqi3w4JqYEYDncECo13i8C//IMNtdL/280=" rel="noreferrer" target="_blank">https://github.com/llvm/llvm-project</a>
 a29ecca7819a6ed4250d3689b12b1f664bb790d7)<br>
reproduce (this is a W=1 build):<br>
        wget <a href="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" originalsrc="https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross" shash="jKxt3pWn74qNQEWsnVRP+QAfp4J+CeoNw5EovvDSZMzsQgYe1kFicBzvCzEbXyu0c8VpbCETjFEBPPAKZzhh22twvHRkyzPGVZXVX4TW0hfxJQZuIpWbIZPdC2diUr7KZv8wKl0rpaA8YEGsVepa1geQPmzWZkOs05a8aPvID8g=" rel="noreferrer" target="_blank">
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross</a> -O ~/bin/make.cross<br>
        chmod +x ~/bin/make.cross<br>
        # install x86_64 cross compiling tool for clang build<br>
        # apt-get install binutils-x86-64-linux-gnu<br>
        git remote add radeon-alex git://<a href="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" originalsrc="http://people.freedesktop.org/~agd5f/linux.git" shash="QxjKXUg0YY3Ixeo0cLyPgpwJ4UQumBmZOfS61jZRhFjVrShp2CxhhIjyPTKDrlKPm1ccwaP2a7JiiKisjI/wSPillPB5ukiuT5yvCyJOY+DHOwaKgGq61jwRonZcr0/QUpfziqkMg8WSFHh4RWAoz2cFSq/9g9FxoU1/yJjhZpA=" rel="noreferrer" target="_blank">people.freedesktop.org/~agd5f/linux.git</a><br>
        git fetch --no-tags radeon-alex amd-20.45<br>
        git checkout e809646e73921328d66a2fbfddf067b9cdb30998<br>
        # save the attached .config to linux build tree<br>
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 <br>
<br>
If you fix the issue, kindly add following tag as appropriate<br>
Reported-by: kernel test robot <<a href="mailto:lkp@intel.com" target="_blank">lkp@intel.com</a>><br>
<br>
All warnings (new ones prefixed by >>):<br>
<br>
>> 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]<br>
   int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)<br>
       ^<br>
   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<br>
   int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)<br>
   ^<br>
   static <br>
   1 warning generated.<br>
<br>
vim +/dce60_get_dp_ref_freq_khz +83 drivers/gpu/drm/amd/amdgpu/../display/dc/clk_mgr/dce60/dce60_clk_mgr.c<br>
<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   82  <br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11  @83  int dce60_get_dp_ref_freq_khz(struct clk_mgr *clk_mgr_base)<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   84  {<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   85     struct clk_mgr_internal *clk_mgr = TO_CLK_MGR_INTERNAL(clk_mgr_base);<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   86     int dprefclk_wdivider;<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   87     int dp_ref_clk_khz;<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   88     int target_div;<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   89  <br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   90     /* DCE6 has no DPREFCLK_CNTL to read DP Reference Clock source */<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   91  <br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   92     /* Read the mmDENTIST_DISPCLK_CNTL to get the currently<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   93      * programmed DID DENTIST_DPREFCLK_WDIVIDER*/<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   94     REG_GET(DENTIST_DISPCLK_CNTL, DENTIST_DPREFCLK_WDIVIDER, &dprefclk_wdivider);<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   95  <br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   96     /* Convert DENTIST_DPREFCLK_WDIVIDERto actual divider*/<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   97     target_div = dentist_get_divider_from_did(dprefclk_wdivider);<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   98  <br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11   99     /* Calculate the current DFS clock, in kHz.*/<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11  100     dp_ref_clk_khz = (DENTIST_DIVIDER_RANGE_SCALE_FACTOR<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11  101             * clk_mgr->base.dentist_vco_freq_khz) / target_div;<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11  102  <br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11  103     return dce_adjust_dp_ref_freq_for_ss(clk_mgr, dp_ref_clk_khz);<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11  104  }<br>
2428ad5c6ece1a6 Mauro Rossi 2020-07-11  105  <br>
<br>
:::::: The code at line 83 was first introduced by commit<br>
:::::: 2428ad5c6ece1a6861278c01c5e71c8ea258f3d9 drm/amd/display: dc/clk_mgr: add support for SI parts (v2)<br>
<br>
:::::: TO: Mauro Rossi <<a href="mailto:issor.oruam@gmail.com" target="_blank">issor.oruam@gmail.com</a>><br>
:::::: CC: Yang Xiong <<a href="mailto:Yang.Xiong@amd.com" target="_blank">Yang.Xiong@amd.com</a>><br>
<br>
---<br>
0-DAY CI Kernel Test Service, Intel Corporation<br>
<a href="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" originalsrc="https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org" shash="U6EERVlu+0ZsZgZRkVXxwK0B3EpnyG6q2f+/1dBXj7SUn6nOVsGIgVVXej50Xmy7YvPRvBNa+RKWKYhBzCsli9TZ1UnuWVzMxinyEEFxh1NwRv+zQAfmrl7kPE2NX/MWxkTKOuYyv4+eFhHz4n3Vtp7UUUjl1qAMBX7di9w4+ek=" rel="noreferrer" target="_blank">https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org</a><br>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>