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)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 16, 2020 at 04:20:58PM +0000, Deucher, Alexander wrote:
> [AMD Official Use Only - Internal Distribution Only]
> 
> You can add amd-21.xx as well, since they will coming up next year.  Maybe amd-2*?
Got it, we will ignore amd-2.* pattern.

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

> _______________________________________________
> kbuild-all mailing list -- kbuild-all@xxxxxxxxxxxx
> To unsubscribe send an email to kbuild-all-leave@xxxxxxxxxxxx

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux