<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-2022-jp">
<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:11pt;color:#0078D7;margin:5pt;" align="Left">
[AMD Official Use Only - Internal Distribution Only]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
You can add amd-21.xx as well, since they will coming up next year. Maybe amd-2*?<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> Rong Chen <rong.a.chen@intel.com><br>
<b>Sent:</b> Wednesday, December 16, 2020 3:48 AM<br>
<b>To:</b> Deucher, Alexander <Alexander.Deucher@amd.com>; Qinglang Miao <miaoqinglang@huawei.com>; kernel test robot <lkp@intel.com><br>
<b>Cc:</b> kbuild-all@lists.01.org <kbuild-all@lists.01.org>; dri-devel@lists.freedesktop.org <dri-devel@lists.freedesktop.org>; Felix <"Xiong, "@ml01.01.org><br>
<b>Subject:</b> Re: [kbuild-all] Re: [radeon-alex:amd-20.45 2127/2427] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1880:39: sparse: sparse: incorrect type in argument 1 (different base types)</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hi Alex,<br>
<br>
We have ignored the amd-20.xx branches:<br>
<a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fintel%2Flkp-tests%2Fcommit%2Facb8d1f213ec6841900e0d7e9737f8ea0960e4d3&data=04%7C01%7CAlexander.Deucher%40amd.com%7C2f283fc47a6641db05cd08d8a19f7d80%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637437053682479635%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=U2aA%2B31wbSToDkIHiUrJWriNOPNNJ162W3F1HjYG6mc%3D&reserved=0">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fintel%2Flkp-tests%2Fcommit%2Facb8d1f213ec6841900e0d7e9737f8ea0960e4d3&data=04%7C01%7CAlexander.Deucher%40amd.com%7C2f283fc47a6641db05cd08d8a19f7d80%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637437053682479635%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=U2aA%2B31wbSToDkIHiUrJWriNOPNNJ162W3F1HjYG6mc%3D&reserved=0</a><br>
<br>
Best Regards,<br>
Rong Chen<br>
<br>
On 12/15/20 10:24 PM, Deucher, Alexander wrote:<br>
><br>
> [AMD Public Use]<br>
><br>
><br>
> The test robot should probably not be testing the amd-20.xx branches <br>
> in the first place. They are just mirrors of our packaged drivers so <br>
> they contain a bunch of stuff that will never go upstream like kernel <br>
> compatibility layers and dkms support.<br>
><br>
> Alex<br>
><br>
> ------------------------------------------------------------------------<br>
> *From:* Qinglang Miao <miaoqinglang@huawei.com><br>
> *Sent:* Tuesday, December 15, 2020 3:21 AM<br>
> *To:* kernel test robot <lkp@intel.com>; Deucher, Alexander <br>
> <Alexander.Deucher@amd.com><br>
> *Cc:* kbuild-all@lists.01.org <kbuild-all@lists.01.org>; <br>
> dri-devel@lists.freedesktop.org <dri-devel@lists.freedesktop.org>; <br>
> Xiong, Yang (Felix) <Yang.Xiong@amd.com><br>
> *Subject:* Re: [radeon-alex:amd-20.45 2127/2427] <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1880:39: <br>
> sparse: sparse: incorrect type in argument 1 (different base types)<br>
> Hi Alex,<br>
><br>
> I think it's not a valid report from kernel test robot, for __le16 ought<br>
> to be the right type for cpu_to_le16. The sparse warnings seems not<br>
> right so I did't try effort to reproduce it.<br>
><br>
> otherwise, when I take a carful look at this patch, an unconditional<br>
> braces exists and I'm not sure about its benefit.<br>
><br>
> if (bp_params->flags.INTERLACE) {<br>
> params.susModeMiscInfo.usAccess =<br>
> cpu_to_le16(le16_to_cpu(params.susModeMiscInfo.usAccess) |<br>
> ATOM_INTERLACE);<br>
> {<br>
> le16_add_cpu(¶ms.usV_SyncOffset, 1);<br>
> }<br>
> }<br>
><br>
> patch link:<br>
> <a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Flkml%2FCADnq5_PunHA1VHHj7VtEHG6o2Z_Z1WS325y_R9xO%2BgsV_JCOXw%40mail.gmail.com%2F&data=04%7C01%7CAlexander.Deucher%40amd.com%7C2f283fc47a6641db05cd08d8a19f7d80%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637437053682489591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=loDpCZcwzSthBMwesVesMIEwtgf%2BGZoycOyTwBpqkfI%3D&reserved=0">
https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flore.kernel.org%2Flkml%2FCADnq5_PunHA1VHHj7VtEHG6o2Z_Z1WS325y_R9xO%2BgsV_JCOXw%40mail.gmail.com%2F&data=04%7C01%7CAlexander.Deucher%40amd.com%7C2f283fc47a6641db05cd08d8a19f7d80%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637437053682489591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=loDpCZcwzSthBMwesVesMIEwtgf%2BGZoycOyTwBpqkfI%3D&reserved=0</a><br>
><br>
> How do you think?<br>
><br>
> $B:_(B 2020/12/15 14:44, kernel test robot $B<LF;(B:<br>
> > tree: git://people.freedesktop.org/~agd5f/linux.git amd-20.45<br>
> > head: a3950d94b046fb206e58fd3ec717f071c0203ba3<br>
> > commit: c82b6c9ed412fb7009b02dd82e50ee24f451e9a8 [2127/2427] <br>
> drm/amd/display: convert to use le16_add_cpu()<br>
> > config: arc-randconfig-s031-20201214 (attached as .config)<br>
> > compiler: arc-elf-gcc (GCC) 9.3.0<br>
> > reproduce:<br>
> > wget <br>
> <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%7C2f283fc47a6641db05cd08d8a19f7d80%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637437053682489591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=a6yKdL%2BoYm1zc5fYftUrWwmas%2BOfrTjqpivV14xci1Y%3D&reserved=0">
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%7C2f283fc47a6641db05cd08d8a19f7d80%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637437053682489591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=a6yKdL%2BoYm1zc5fYftUrWwmas%2BOfrTjqpivV14xci1Y%3D&reserved=0</a>
<br>
> -O ~/bin/make.cross<br>
> > chmod +x ~/bin/make.cross<br>
> > # apt-get install sparse<br>
> > # sparse version: v0.6.3-184-g1b896707-dirty<br>
> > git remote add radeon-alex <br>
> git://people.freedesktop.org/~agd5f/linux.git<br>
> > git fetch --no-tags radeon-alex amd-20.45<br>
> > git checkout c82b6c9ed412fb7009b02dd82e50ee24f451e9a8<br>
> > # save the attached .config to linux build tree<br>
> > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 <br>
> make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=arc<br>
> ><br>
> > If you fix the issue, kindly add following tag as appropriate<br>
> > Reported-by: kernel test robot <lkp@intel.com><br>
> ><br>
> ><br>
> > "sparse warnings: (new ones prefixed by >>)"<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:879:43: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned int [addressable] [assigned] [usertype] <br>
> ulSymClock @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:879:43: <br>
> sparse: expected unsigned int [addressable] [assigned] [usertype] <br>
> ulSymClock<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:879:43: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:956:40: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usRefDiv @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:956:40: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usRefDiv<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:956:40: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:958:39: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usFbDiv @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:958:39: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usFbDiv<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:958:39: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:966:44: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usPixelClock @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:966:44: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usPixelClock<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:966:44: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1029:40: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usFbDiv @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1029:40: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usFbDiv<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1029:40: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1031:47: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned int [addressable] [assigned] [usertype] <br>
> ulFbDivDecFrac @@ got restricted __le32 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1031:47: <br>
> sparse: expected unsigned int [addressable] [assigned] [usertype] <br>
> ulFbDivDecFrac<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1031:47: <br>
> sparse: got restricted __le32 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1044:45: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usPixelClock @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1044:45: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usPixelClock<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1044:45: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1105:40: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usFbDiv @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1105:40: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usFbDiv<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1105:40: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1107:47: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned int [addressable] [assigned] [usertype] <br>
> ulFbDivDecFrac @@ got restricted __le32 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1107:47: <br>
> sparse: expected unsigned int [addressable] [assigned] [usertype] <br>
> ulFbDivDecFrac<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1107:47: <br>
> sparse: got restricted __le32 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1120:60: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned int [addressable] [assigned] [usertype] <br>
> ulPixelClock:24 @@ got restricted __le32 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1120:60: <br>
> sparse: expected unsigned int [addressable] [assigned] [usertype] <br>
> ulPixelClock:24<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1120:60: <br>
> sparse: got restricted __le32 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1183:34: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned int [addressable] [assigned] [usertype] <br>
> ulPixelClock @@ got restricted __le32 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1183:34: <br>
> sparse: expected unsigned int [addressable] [assigned] [usertype] <br>
> ulPixelClock<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1183:34: <br>
> sparse: got restricted __le32 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1272:43: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usSpreadSpectrumPercentage @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1272:43: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usSpreadSpectrumPercentage<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1272:43: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1321:51: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usSpreadSpectrumPercentage @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1321:51: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usSpreadSpectrumPercentage<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1321:51: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1323:45: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usSpreadSpectrumStep @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1323:45: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usSpreadSpectrumStep<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1323:45: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1337:47: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usSpreadSpectrumAmount @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1337:47: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usSpreadSpectrumAmount<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1337:47: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1391:51: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usSpreadSpectrumAmountFrac @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1391:51: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usSpreadSpectrumAmountFrac<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1391:51: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1393:45: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usSpreadSpectrumStep @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1393:45: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usSpreadSpectrumStep<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1393:45: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1406:47: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usSpreadSpectrumAmount @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1406:47: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usSpreadSpectrumAmount<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1406:47: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1465:29: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [usertype] usPixelClock @@ got <br>
> restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1465:29: <br>
> sparse: expected unsigned short [usertype] usPixelClock<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1465:29: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1488:36: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [usertype] usPixelClock <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1488:36: <br>
> sparse: expected unsigned short [addressable] [usertype] usPixelClock<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1488:36: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1508:43: <br>
> sparse: sparse: cast to restricted __le32<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1583:30: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [usertype] usPixelClock @@ got <br>
> restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1583:30: <br>
> sparse: expected unsigned short [usertype] usPixelClock<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1583:30: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1826:25: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usH_Size @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1826:25: <br>
> sparse: expected unsigned short [assigned] [usertype] usH_Size<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1826:25: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1828:34: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usH_Blanking_Time <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1828:34: <br>
> sparse: expected unsigned short [assigned] [usertype] <br>
> usH_Blanking_Time<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1828:34: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1831:25: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usV_Size @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1831:25: <br>
> sparse: expected unsigned short [assigned] [usertype] usV_Size<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1831:25: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1833:34: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usV_Blanking_Time <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1833:34: <br>
> sparse: expected unsigned short [assigned] [usertype] <br>
> usV_Blanking_Time<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1833:34: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1838:31: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usH_SyncOffset <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1838:31: <br>
> sparse: expected unsigned short [assigned] [usertype] usH_SyncOffset<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1838:31: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1840:30: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usH_SyncWidth <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1840:30: <br>
> sparse: expected unsigned short [assigned] [usertype] usH_SyncWidth<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1840:30: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1844:31: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usV_SyncOffset <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1844:31: <br>
> sparse: expected unsigned short [assigned] [usertype] usV_SyncOffset<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1844:31: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1846:30: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usV_SyncWidth <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1846:30: <br>
> sparse: expected unsigned short [assigned] [usertype] usV_SyncWidth<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1846:30: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1855:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1854:49: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usAccess @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1854:49: <br>
> sparse: expected unsigned short [assigned] [usertype] usAccess<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1854:49: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1859:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1858:49: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usAccess @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1858:49: <br>
> sparse: expected unsigned short [assigned] [usertype] usAccess<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1858:49: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1863:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1862:49: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usAccess @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1862:49: <br>
> sparse: expected unsigned short [assigned] [usertype] usAccess<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1862:49: <br>
> sparse: got restricted __le16 [usertype]<br>
> >>> <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1880:39: <br>
> sparse: sparse: incorrect type in argument 1 (different base types) <br>
> @@ expected restricted __le16 [usertype] *var @@ got unsigned <br>
> short * @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1880:39: <br>
> sparse: expected restricted __le16 [usertype] *var<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1880:39: <br>
> sparse: got unsigned short *<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1886:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> >>> <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1885:49: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usAccess @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1885:49: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usAccess<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1885:49: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1752:26: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usH_Total @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1752:26: <br>
> sparse: expected unsigned short [assigned] [usertype] usH_Total<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1752:26: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1753:25: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usH_Disp @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1753:25: <br>
> sparse: expected unsigned short [assigned] [usertype] usH_Disp<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1753:25: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1754:30: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usH_SyncStart <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1754:30: <br>
> sparse: expected unsigned short [assigned] [usertype] usH_SyncStart<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1754:30: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1755:30: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usH_SyncWidth <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1755:30: <br>
> sparse: expected unsigned short [assigned] [usertype] usH_SyncWidth<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1755:30: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1756:26: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usV_Total @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1756:26: <br>
> sparse: expected unsigned short [assigned] [usertype] usV_Total<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1756:26: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1757:25: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usV_Disp @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1757:25: <br>
> sparse: expected unsigned short [assigned] [usertype] usV_Disp<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1757:25: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1758:30: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usV_SyncStart <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1758:30: <br>
> sparse: expected unsigned short [assigned] [usertype] usV_SyncStart<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1758:30: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1760:30: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usV_SyncWidth <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1760:30: <br>
> sparse: expected unsigned short [assigned] [usertype] usV_SyncWidth<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1760:30: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1776:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1775:49: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usAccess @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1775:49: <br>
> sparse: expected unsigned short [assigned] [usertype] usAccess<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1775:49: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1780:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1779:49: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usAccess @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1779:49: <br>
> sparse: expected unsigned short [assigned] [usertype] usAccess<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1779:49: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1784:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1783:49: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usAccess @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1783:49: <br>
> sparse: expected unsigned short [assigned] [usertype] usAccess<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1783:49: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1799:38: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usV_SyncStart <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1799:38: <br>
> sparse: expected unsigned short [assigned] [usertype] usV_SyncStart<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1799:38: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1805:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1804:49: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] usAccess @@ <br>
> got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1804:49: <br>
> sparse: expected unsigned short [assigned] [usertype] usAccess<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1804:49: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2047:40: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> usPixelClock @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2047:40: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] usPixelClock<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2047:40: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2079:44: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned int [addressable] [assigned] [usertype] <br>
> ulDispEngClkFreq @@ got restricted __le32 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2079:44: <br>
> sparse: expected unsigned int [addressable] [assigned] [usertype] <br>
> ulDispEngClkFreq<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2079:44: <br>
> sparse: got restricted __le32 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2092:44: <br>
> sparse: sparse: cast to restricted __le32<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2174:44: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [usertype] usConnectorId @@ got <br>
> restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2174:44: <br>
> sparse: expected unsigned short [usertype] usConnectorId<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2174:44: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2183:43: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [usertype] usPixelClock @@ got <br>
> restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2183:43: <br>
> sparse: expected unsigned short [usertype] usPixelClock<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2183:43: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2207:43: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [usertype] usPixelClock @@ got <br>
> restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2207:43: <br>
> sparse: expected unsigned short [usertype] usPixelClock<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2207:43: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2340:45: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned int [addressable] [assigned] [usertype] <br>
> ulDCEClkFreq @@ got restricted __le32 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2340:45: <br>
> sparse: expected unsigned int [addressable] [assigned] [usertype] <br>
> ulDCEClkFreq<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2340:45: <br>
> sparse: got restricted __le32 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:2344:53: <br>
> sparse: sparse: cast to restricted __le32<br>
> > --<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:413:34: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned int [addressable] [assigned] [usertype] <br>
> pixclk_100hz @@ got restricted __le32 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:413:34: <br>
> sparse: expected unsigned int [addressable] [assigned] [usertype] <br>
> pixclk_100hz<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:413:34: <br>
> sparse: got restricted __le32 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:509:23: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] h_size @@ got <br>
> restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:509:23: <br>
> sparse: expected unsigned short [assigned] [usertype] h_size<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:509:23: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:511:32: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] h_blanking_time <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:511:32: <br>
> sparse: expected unsigned short [assigned] [usertype] h_blanking_time<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:511:32: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:515:23: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] v_size @@ got <br>
> restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:515:23: <br>
> sparse: expected unsigned short [assigned] [usertype] v_size<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:515:23: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:517:32: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] v_blanking_time <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:517:32: <br>
> sparse: expected unsigned short [assigned] [usertype] v_blanking_time<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:517:32: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:524:29: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] h_syncoffset <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:524:29: <br>
> sparse: expected unsigned short [assigned] [usertype] h_syncoffset<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:524:29: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:527:28: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] h_syncwidth <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:527:28: <br>
> sparse: expected unsigned short [assigned] [usertype] h_syncwidth<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:527:28: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:532:29: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] v_syncoffset <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:532:29: <br>
> sparse: expected unsigned short [assigned] [usertype] v_syncoffset<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:532:29: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:535:28: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] v_syncwidth <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:535:28: <br>
> sparse: expected unsigned short [assigned] [usertype] v_syncwidth<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:535:28: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:544:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:543:37: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] modemiscinfo <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:543:37: <br>
> sparse: expected unsigned short [assigned] [usertype] modemiscinfo<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:543:37: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:549:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:548:37: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] modemiscinfo <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:548:37: <br>
> sparse: expected unsigned short [assigned] [usertype] modemiscinfo<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:548:37: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:554:33: <br>
> sparse: sparse: cast to restricted __le16<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:553:37: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [assigned] [usertype] modemiscinfo <br>
> @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:553:37: <br>
> sparse: expected unsigned short [assigned] [usertype] modemiscinfo<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:553:37: <br>
> sparse: got restricted __le16 [usertype]<br>
> >>> <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:572:39: <br>
> sparse: sparse: incorrect type in argument 1 (different base types) <br>
> @@ expected restricted __le16 [usertype] *var @@ got unsigned <br>
> short * @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:572:39: <br>
> sparse: expected restricted __le16 [usertype] *var<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:572:39: <br>
> sparse: got unsigned short *<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:578:25: <br>
> sparse: sparse: cast to restricted __le16<br>
> >>> <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:577:37: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned short [addressable] [assigned] [usertype] <br>
> modemiscinfo @@ got restricted __le16 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:577:37: <br>
> sparse: expected unsigned short [addressable] [assigned] <br>
> [usertype] modemiscinfo<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:577:37: <br>
> sparse: got restricted __le16 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:851:43: <br>
> sparse: sparse: incorrect type in assignment (different base types) <br>
> @@ expected unsigned int [addressable] [assigned] [usertype] <br>
> dceclk_10khz @@ got restricted __le32 [usertype] @@<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:851:43: <br>
> sparse: expected unsigned int [addressable] [assigned] [usertype] <br>
> dceclk_10khz<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:851:43: <br>
> sparse: got restricted __le32 [usertype]<br>
> > <br>
> drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table2.c:860:53: <br>
> sparse: sparse: cast to restricted __le32<br>
> ><br>
> > vim +1880 drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c<br>
> ><br>
> > 1812<br>
> > 1813 static enum bp_result set_crtc_using_dtd_timing_v3(<br>
> > 1814 struct bios_parser *bp,<br>
> > 1815 struct bp_hw_crtc_timing_parameters *bp_params)<br>
> > 1816 {<br>
> > 1817 enum bp_result result = BP_RESULT_FAILURE;<br>
> > 1818 SET_CRTC_USING_DTD_TIMING_PARAMETERS params = {0};<br>
> > 1819 uint8_t atom_controller_id;<br>
> > 1820<br>
> > 1821 if (bp->cmd_helper->controller_id_to_atom(<br>
> > 1822 bp_params->controller_id, &atom_controller_id))<br>
> > 1823 params.ucCRTC = atom_controller_id;<br>
> > 1824<br>
> > 1825 /* bios usH_Size wants h addressable size */<br>
> > 1826 params.usH_Size = <br>
> cpu_to_le16((uint16_t)bp_params->h_addressable);<br>
> > 1827 /* bios usH_Blanking_Time wants borders <br>
> included in blanking */<br>
> > 1828 params.usH_Blanking_Time =<br>
> > 1829 cpu_to_le16((uint16_t)(bp_params->h_total - <br>
> bp_params->h_addressable));<br>
> > 1830 /* bios usV_Size wants v addressable size */<br>
> > 1831 params.usV_Size = <br>
> cpu_to_le16((uint16_t)bp_params->v_addressable);<br>
> > 1832 /* bios usV_Blanking_Time wants borders <br>
> included in blanking */<br>
> > 1833 params.usV_Blanking_Time =<br>
> > 1834 cpu_to_le16((uint16_t)(bp_params->v_total - <br>
> bp_params->v_addressable));<br>
> > 1835 /* bios usHSyncOffset is the offset from the <br>
> end of h addressable,<br>
> > 1836 * our horizontalSyncStart is the offset from <br>
> the beginning<br>
> > 1837 * of h addressable */<br>
> > 1838 params.usH_SyncOffset =<br>
> > 1839 cpu_to_le16((uint16_t)(bp_params->h_sync_start - <br>
> bp_params->h_addressable));<br>
> > 1840 params.usH_SyncWidth = <br>
> cpu_to_le16((uint16_t)bp_params->h_sync_width);<br>
> > 1841 /* bios usHSyncOffset is the offset from the <br>
> end of v addressable,<br>
> > 1842 * our verticalSyncStart is the offset from <br>
> the beginning of<br>
> > 1843 * v addressable */<br>
> > 1844 params.usV_SyncOffset =<br>
> > 1845 cpu_to_le16((uint16_t)(bp_params->v_sync_start - <br>
> bp_params->v_addressable));<br>
> > 1846 params.usV_SyncWidth = <br>
> cpu_to_le16((uint16_t)bp_params->v_sync_width);<br>
> > 1847<br>
> > 1848 /* we assume that overscan from original <br>
> timing does not get bigger<br>
> > 1849 * than 255<br>
> > 1850 * we will program all the borders in the Set <br>
> CRTC Overscan call below<br>
> > 1851 */<br>
> > 1852<br>
> > 1853 if (0 == bp_params->flags.HSYNC_POSITIVE_POLARITY)<br>
> > 1854 params.susModeMiscInfo.usAccess =<br>
> > 1855 cpu_to_le16(le16_to_cpu(params.susModeMiscInfo.usAccess) | <br>
> ATOM_HSYNC_POLARITY);<br>
> > 1856<br>
> > 1857 if (0 == bp_params->flags.VSYNC_POSITIVE_POLARITY)<br>
> > 1858 params.susModeMiscInfo.usAccess =<br>
> > 1859 cpu_to_le16(le16_to_cpu(params.susModeMiscInfo.usAccess) | <br>
> ATOM_VSYNC_POLARITY);<br>
> > 1860<br>
> > 1861 if (bp_params->flags.INTERLACE) {<br>
> > 1862 params.susModeMiscInfo.usAccess =<br>
> > 1863 cpu_to_le16(le16_to_cpu(params.susModeMiscInfo.usAccess) | <br>
> ATOM_INTERLACE);<br>
> > 1864<br>
> > 1865 /* original DAL code has this <br>
> condition to apply this<br>
> > 1866 * for non-TV/CV only<br>
> > 1867 * due to complex MV testing for <br>
> possible impact<br>
> > 1868 * if ( pACParameters->signal != <br>
> SignalType_YPbPr &&<br>
> > 1869 * pACParameters->signal != <br>
> SignalType_Composite &&<br>
> > 1870 * pACParameters->signal != <br>
> SignalType_SVideo)<br>
> > 1871 */<br>
> > 1872 {<br>
> > 1873 /* HW will deduct 0.5 line <br>
> from 2nd feild.<br>
> > 1874 * i.e. for 1080i, it is 2 <br>
> lines for 1st field,<br>
> > 1875 * 2.5 lines for the 2nd <br>
> feild. we need input as 5<br>
> > 1876 * instead of 4.<br>
> > 1877 * but it is 4 either from <br>
> Edid data (spec CEA 861)<br>
> > 1878 * or CEA timing table.<br>
> > 1879 */<br>
> >> 1880 le16_add_cpu(¶ms.usV_SyncOffset, 1);<br>
> > 1881 }<br>
> > 1882 }<br>
> > 1883<br>
> > 1884 if (bp_params->flags.HORZ_COUNT_BY_TWO)<br>
> >> 1885 params.susModeMiscInfo.usAccess =<br>
> > 1886 cpu_to_le16(le16_to_cpu(params.susModeMiscInfo.usAccess) | <br>
> ATOM_DOUBLE_CLOCK_MODE);<br>
> > 1887<br>
> > 1888 if <br>
> (EXEC_BIOS_CMD_TABLE(SetCRTC_UsingDTDTiming, params))<br>
> > 1889 result = BP_RESULT_OK;<br>
> > 1890<br>
> > 1891 return result;<br>
> > 1892 }<br>
> > 1893<br>
> ><br>
> > ---<br>
> > 0-DAY CI Kernel Test Service, Intel Corporation<br>
> > <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%7C2f283fc47a6641db05cd08d8a19f7d80%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637437053682489591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=77wRGSBVZ6dkVMjAcmnry563ubX0PkhoC%2BIF3Mw7a%2Bc%3D&reserved=0">
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%7C2f283fc47a6641db05cd08d8a19f7d80%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637437053682489591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=77wRGSBVZ6dkVMjAcmnry563ubX0PkhoC%2BIF3Mw7a%2Bc%3D&reserved=0</a><br>
> ><br>
><br>
> _______________________________________________<br>
> kbuild-all mailing list -- kbuild-all@lists.01.org<br>
> To unsubscribe send an email to kbuild-all-leave@lists.01.org<br>
<br>
</div>
</span></font></div>
</div>
</body>
</html>