[radeon-alex:amd-staging-dkms-4.18 30/30] drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c:3231:1: error: directive in argument list

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

 



tree:   git://people.freedesktop.org/~agd5f/linux.git amd-staging-dkms-4.18
head:   937a0a9df97d4c1c7cecf6faa2f501d175bc3c2a
commit: 937a0a9df97d4c1c7cecf6faa2f501d175bc3c2a [30/30] drm/amdgpu: manually map the shadow BOs again
config: x86_64-allmodconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-1) 7.3.0
reproduce:
        git checkout 937a0a9df97d4c1c7cecf6faa2f501d175bc3c2a
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:0:
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
    };
    ^
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm_debugfs.c:736:46: warning: Using plain integer as NULL pointer
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:0:
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
    };
    ^
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/../display/dc/basics/conversion.c:34:10: warning: symbol 'fixed_point_to_int_frac' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/../display/dc/basics/conversion.c:81:6: warning: symbol 'convert_float_matrix' was not declared. Should it be static?
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:0:
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
    };
    ^
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:47:19: warning: incorrect type in initializer (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:47:19:    expected unsigned short [unsigned] [usertype] out
   drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:47:19:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:77:35: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:77:35:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] lpI2CDataOut
   drivers/gpu/drm/amd/amdgpu/atombios_i2c.c:77:35:    got restricted __le16 [usertype] <noident>
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:0:
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
    };
    ^
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c:32:25: warning: symbol 'amdgpu_to_sched_priority' was not declared. Should it be static?
   drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c:92:5: warning: symbol 'amdgpu_sched_ioctl' was not declared. Should it be static?
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:0:
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
    };
    ^
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/../display/dc/basics/vector.c:53:6: warning: symbol 'dal_vector_presized_costruct' was not declared. Should it be static?
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:0:
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
    };
    ^
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2014:18: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1967:26: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1971:26: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1975:26: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1981:26: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1997:49: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1856:27: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1863:18: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1876:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1878:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1880:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1882:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1884:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1886:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1888:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1890:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:886:18: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1526:18: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:152:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:165:19: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:181:14: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:233:18: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:296:18: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:356:29: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:358:44: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:436:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:438:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:440:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:442:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:444:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:487:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:489:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:491:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:493:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:495:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:497:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:499:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:573:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:575:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:577:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:579:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:581:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:583:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:585:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:640:37: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:666:18: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:713:33: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:715:43: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:717:44: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:872:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1140:23: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1160:35: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1046:21: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1069:25: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1071:35: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1073:36: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1244:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1247:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1253:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1256:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1262:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1264:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1266:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1268:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1270:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1296:30: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1362:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1365:25: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1371:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1374:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1380:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1382:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1384:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1386:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1388:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1726:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1761:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1671:23: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1806:27: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1812:18: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:1820:36: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2250:38: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2251:34: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2252:35: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2257:25: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2260:25: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2264:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2266:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2276:31: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2277:30: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2279:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2281:17: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2285:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2288:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2291:47: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2292:47: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2294:28: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2296:17: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2298:17: warning: too many warnings
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: incorrect type in argument 1 (different address spaces)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29:    expected void const volatile [noderef] <asn:1>*<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29:    got unsigned int [usertype] *<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:188:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:190:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:190:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:190:29: warning: incorrect type in argument 1 (different address spaces)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:190:29:    expected void const volatile [noderef] <asn:1>*<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:190:29:    got unsigned int [usertype] *<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:190:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:190:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:190:29: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: incorrect type in argument 1 (different address spaces)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21:    expected void const volatile [noderef] <asn:1>*<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21:    got unsigned int [usertype] *<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:265:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:303:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:303:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:303:21: warning: incorrect type in argument 1 (different address spaces)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:303:21:    expected void const volatile [noderef] <asn:1>*<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:303:21:    got unsigned int [usertype] *<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:303:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:303:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:303:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: incorrect type in argument 1 (different address spaces)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21:    expected void const volatile [noderef] <asn:1>*<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21:    got unsigned int [usertype] *<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:344:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:382:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:382:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:382:21: warning: incorrect type in argument 1 (different address spaces)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:382:21:    expected void const volatile [noderef] <asn:1>*<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:382:21:    got unsigned int [usertype] *<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:382:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:382:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:382:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: incorrect type in argument 1 (different address spaces)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21:    expected void const volatile [noderef] <asn:1>*<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21:    got unsigned int [usertype] *<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:423:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:461:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:461:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:461:21: warning: incorrect type in argument 1 (different address spaces)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:461:21:    expected void const volatile [noderef] <asn:1>*<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:461:21:    got unsigned int [usertype] *<noident>
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:461:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:461:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:461:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:550:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:550:21: warning: cast removes address space of expression (<asn:1>)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:550:21: warning: incorrect type in argument 1 (different address spaces)
   drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c:550:21:    expected void const volatile [noderef] <asn:1>*<noident>
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:288:32: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:289:21: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:291:39: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:292:22: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:294:39: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:364:32: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:365:21: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:367:39: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:368:22: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:370:39: warning: cast to restricted __le32
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:665:30: warning: incorrect type in initializer (different address spaces)
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:665:30:    expected void [noderef] <asn:2>*ptr
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:665:30:    got void *<noident>
   drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c:1460:55: warning: missing braces around initializer
   In file included from drivers/gpu/drm/amd/amdgpu/../backport/include/kcl/kcl_amdgpu.h:5:0,
                    from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:12,
                    from <command-line>:0:
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: warning: no semicolon at end of struct or union
    };
    ^
--
   include/kcl/kcl_drm_global.h:46:30: warning: no newline at end of file
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:854:1: error: expected ; at end of declaration
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:243:29: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:243:29:    expected unsigned short [unsigned] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:243:29:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:272:29: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:272:29:    expected unsigned short [unsigned] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:272:29:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:435:35: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:435:35:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usInitInfo
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:435:35:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:457:45: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:457:45:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:457:45:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:463:45: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:463:45:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:463:45:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:563:35: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:563:35:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usInitInfo
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:563:35:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:594:45: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:594:45:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:594:45:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:600:45: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:600:45:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:600:45:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:695:35: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:695:35:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usInitInfo
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:695:35:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:720:45: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:720:45:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:720:45:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:726:45: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:726:45:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:726:45:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:800:27: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:800:27:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usSymClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:800:27:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:815:33: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:814:43: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:814:43:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usSymClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:814:43:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:819:33: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:818:43: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:818:43:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usSymClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:818:43:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:823:33: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:822:43: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:822:43:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usSymClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:822:43:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:874:33: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:873:43: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:873:43:    expected unsigned int [unsigned] [addressable] [assigned] [usertype] ulSymClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:873:43:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:878:33: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:877:43: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:877:43:    expected unsigned int [unsigned] [addressable] [assigned] [usertype] ulSymClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:877:43:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:882:33: warning: cast to restricted __le16
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:881:43: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:881:43:    expected unsigned int [unsigned] [addressable] [assigned] [usertype] ulSymClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:881:43:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:958:40: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:958:40:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usRefDiv
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:958:40:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:960:39: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:960:39:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usFbDiv
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:960:39:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:968:44: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:968:44:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:968:44:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1031:40: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1031:40:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usFbDiv
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1031:40:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1033:47: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1033:47:    expected unsigned int [unsigned] [addressable] [assigned] [usertype] ulFbDivDecFrac
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1033:47:    got restricted __le32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1046:45: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1046:45:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1046:45:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1107:40: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1107:40:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usFbDiv
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1107:40:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1109:47: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1109:47:    expected unsigned int [unsigned] [addressable] [assigned] [usertype] ulFbDivDecFrac
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1109:47:    got restricted __le32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1122:60: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1122:60:    expected unsigned int [unsigned] [addressable] [assigned] [usertype] ulPixelClock:24
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1122:60:    got restricted __le32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1186:34: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1186:34:    expected unsigned int [unsigned] [addressable] [assigned] [usertype] ulPixelClock
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1186:34:    got restricted __le32 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1275:43: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1275:43:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1275:43:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1324:51: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1324:51:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usSpreadSpectrumPercentage
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1324:51:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1326:45: warning: incorrect type in assignment (different base types)
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1326:45:    expected unsigned short [unsigned] [addressable] [assigned] [usertype] usSpreadSpectrumStep
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1326:45:    got restricted __le16 [usertype] <noident>
   drivers/gpu/drm/amd/amdgpu/../display/dc/bios/command_table.c:1340:47: warning: incorrect type in assignment (different base types)
..

vim +3231 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c

2396cacc7 Oak Zeng        2018-08-27  3187  
2396cacc7 Oak Zeng        2018-08-27  3188  /**
d38ceaf99 Alex Deucher    2015-04-20  3189   * amdgpu_vm_fini - tear down a vm instance
d38ceaf99 Alex Deucher    2015-04-20  3190   *
d38ceaf99 Alex Deucher    2015-04-20  3191   * @adev: amdgpu_device pointer
d38ceaf99 Alex Deucher    2015-04-20  3192   * @vm: requested vm
d38ceaf99 Alex Deucher    2015-04-20  3193   *
8843dbbbf Christian König 2016-01-26  3194   * Tear down @vm.
d38ceaf99 Alex Deucher    2015-04-20  3195   * Unbind the VM and remove all bos from the vm bo list
d38ceaf99 Alex Deucher    2015-04-20  3196   */
d38ceaf99 Alex Deucher    2015-04-20  3197  void amdgpu_vm_fini(struct amdgpu_device *adev, struct amdgpu_vm *vm)
d38ceaf99 Alex Deucher    2015-04-20  3198  {
d38ceaf99 Alex Deucher    2015-04-20  3199  	struct amdgpu_bo_va_mapping *mapping, *tmp;
132f34e4b Christian König 2018-01-12  3200  	bool prt_fini_needed = !!adev->gmc.gmc_funcs->set_prt;
2642cf110 Christian König 2017-10-13  3201  	struct amdgpu_bo *root;
a2f14820e Felix Kuehling  2017-08-26  3202  	u64 fault;
2642cf110 Christian König 2017-10-13  3203  	int i, r;
d38ceaf99 Alex Deucher    2015-04-20  3204  
ede0dd86f Felix Kuehling  2018-03-15  3205  	amdgpu_amdkfd_gpuvm_destroy_cb(adev, vm);
ede0dd86f Felix Kuehling  2018-03-15  3206  
a2f14820e Felix Kuehling  2017-08-26  3207  	/* Clear pending page faults from IH when the VM is destroyed */
a2f14820e Felix Kuehling  2017-08-26  3208  	while (kfifo_get(&vm->faults, &fault))
f6ac4f5f0 Oak Zeng        2018-09-05  3209  		amdgpu_vm_clear_fault(vm->fault_hash, fault);
a2f14820e Felix Kuehling  2017-08-26  3210  
02208441c Felix Kuehling  2017-08-25  3211  	if (vm->pasid) {
02208441c Felix Kuehling  2017-08-25  3212  		unsigned long flags;
02208441c Felix Kuehling  2017-08-25  3213  
02208441c Felix Kuehling  2017-08-25  3214  		spin_lock_irqsave(&adev->vm_manager.pasid_lock, flags);
02208441c Felix Kuehling  2017-08-25  3215  		idr_remove(&adev->vm_manager.pasid_idr, vm->pasid);
02208441c Felix Kuehling  2017-08-25  3216  		spin_unlock_irqrestore(&adev->vm_manager.pasid_lock, flags);
02208441c Felix Kuehling  2017-08-25  3217  	}
02208441c Felix Kuehling  2017-08-25  3218  
f6ac4f5f0 Oak Zeng        2018-09-05  3219  	kfree(vm->fault_hash);
f6ac4f5f0 Oak Zeng        2018-09-05  3220  	vm->fault_hash = NULL;
f6ac4f5f0 Oak Zeng        2018-09-05  3221  
67f5976ee Kent Russell    2017-11-14  3222  	drm_sched_entity_destroy(&vm->entity);
42e2cb547 Junwei Zhang    2018-02-06  3223  #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
42e2cb547 Junwei Zhang    2018-02-06  3224  	if (!RB_EMPTY_ROOT(&vm->va)) {
42e2cb547 Junwei Zhang    2018-02-06  3225  #else
f808c13fd Davidlohr Bueso 2017-09-08  3226  	if (!RB_EMPTY_ROOT(&vm->va.rb_root)) {
42e2cb547 Junwei Zhang    2018-02-06  3227  #endif
d38ceaf99 Alex Deucher    2015-04-20  3228  		dev_err(adev->dev, "still active bo inside vm\n");
d38ceaf99 Alex Deucher    2015-04-20  3229  	}
f808c13fd Davidlohr Bueso 2017-09-08  3230  	rbtree_postorder_for_each_entry_safe(mapping, tmp,
42e2cb547 Junwei Zhang    2018-02-06 @3231  #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 14, 0)
42e2cb547 Junwei Zhang    2018-02-06  3232  					     &vm->va, rb) {
42e2cb547 Junwei Zhang    2018-02-06  3233  #else
f808c13fd Davidlohr Bueso 2017-09-08  3234  					     &vm->va.rb_root, rb) {
42e2cb547 Junwei Zhang    2018-02-06  3235  #endif
d38ceaf99 Alex Deucher    2015-04-20  3236  		list_del(&mapping->list);
a9f87f645 Christian König 2017-03-30  3237  		amdgpu_vm_it_remove(mapping, &vm->va);
d38ceaf99 Alex Deucher    2015-04-20  3238  		kfree(mapping);
d38ceaf99 Alex Deucher    2015-04-20  3239  	}
d38ceaf99 Alex Deucher    2015-04-20  3240  	list_for_each_entry_safe(mapping, tmp, &vm->freed, list) {
4388fc2ab Christian König 2017-03-13  3241  		if (mapping->flags & AMDGPU_PTE_PRT && prt_fini_needed) {
451bc8eb8 Christian König 2017-02-14  3242  			amdgpu_vm_prt_fini(adev, vm);
4388fc2ab Christian König 2017-03-13  3243  			prt_fini_needed = false;
451bc8eb8 Christian König 2017-02-14  3244  		}
284710fa6 Christian König 2017-01-30  3245  
d38ceaf99 Alex Deucher    2015-04-20  3246  		list_del(&mapping->list);
451bc8eb8 Christian König 2017-02-14  3247  		amdgpu_vm_free_mapping(adev, vm, mapping, NULL);
d38ceaf99 Alex Deucher    2015-04-20  3248  	}
d38ceaf99 Alex Deucher    2015-04-20  3249  
2642cf110 Christian König 2017-10-13  3250  	root = amdgpu_bo_ref(vm->root.base.bo);
2642cf110 Christian König 2017-10-13  3251  	r = amdgpu_bo_reserve(root, true);
2642cf110 Christian König 2017-10-13  3252  	if (r) {
2642cf110 Christian König 2017-10-13  3253  		dev_err(adev->dev, "Leaking page tables because BO reservation failed\n");
2642cf110 Christian König 2017-10-13  3254  	} else {
a117bce56 Christian König 2018-09-06  3255  		amdgpu_vm_free_pts(adev, vm);
2642cf110 Christian König 2017-10-13  3256  		amdgpu_bo_unreserve(root);
2642cf110 Christian König 2017-10-13  3257  	}
2642cf110 Christian König 2017-10-13  3258  	amdgpu_bo_unref(&root);
d5884513a Christian König 2017-09-08  3259  	dma_fence_put(vm->last_update);
1e9ef26fb Chunming Zhou   2017-04-20  3260  	for (i = 0; i < AMDGPU_MAX_VMHUBS; i++)
620f774f4 Christian König 2017-12-18  3261  		amdgpu_vmid_free_reserved(adev, vm, i);
d38ceaf99 Alex Deucher    2015-04-20  3262  }
ea89f8c9e Christian König 2015-11-15  3263  

:::::: The code at line 3231 was first introduced by commit
:::::: 42e2cb54792c9333fb2f0458fe93054f90ca34e0 drm/amdkcl: [4.14] fix rb_root_cached struct

:::::: TO: Junwei Zhang <Jerry.Zhang@xxxxxxx>
:::::: CC: Kevin Wang <Kevin1.Wang@xxxxxxx>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
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