tree: git://people.freedesktop.org/~agd5f/linux.git upstream-4.14-drm-next-amd-dc-staging-chrome head: 4448b9a68413462529d018050cd246bc33957bd6 commit: a9aa2210cd8aadeea91c845a0a05510d2a91ffa6 [1/16] FORKLIFT: amd: copy amd folder as is from dave airlie tree config: arm64-allyesconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross git checkout a9aa2210cd8aadeea91c845a0a05510d2a91ffa6 # save the attached .config to linux build tree make.cross ARCH=arm64 Note: the radeon-alex/upstream-4.14-drm-next-amd-dc-staging-chrome HEAD 4448b9a68413462529d018050cd246bc33957bd6 builds fine. It only hurts bisectibility. All errors (new ones prefixed by >>): drivers/gpu//drm/amd/amdgpu/amdgpu_ttm.c: In function 'amdgpu_ttm_tt_populate': >> drivers/gpu//drm/amd/amdgpu/amdgpu_ttm.c:967:9: error: implicit declaration of function 'ttm_populate_and_map_pages'; did you mean 'vmemmap_populate_basepages'? [-Werror=implicit-function-declaration] return ttm_populate_and_map_pages(adev->dev, >t->ttm); ^~~~~~~~~~~~~~~~~~~~~~~~~~ vmemmap_populate_basepages drivers/gpu//drm/amd/amdgpu/amdgpu_ttm.c: In function 'amdgpu_ttm_tt_unpopulate': >> drivers/gpu//drm/amd/amdgpu/amdgpu_ttm.c:995:2: error: implicit declaration of function 'ttm_unmap_and_unpopulate_pages'; did you mean 'ttm_dma_unpopulate'? [-Werror=implicit-function-declaration] ttm_unmap_and_unpopulate_pages(adev->dev, >t->ttm); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ttm_dma_unpopulate cc1: some warnings being treated as errors -- drivers/gpu//drm/amd/amdgpu/amdgpu_gem.c: In function 'amdgpu_gem_object_open': >> drivers/gpu//drm/amd/amdgpu/amdgpu_gem.c:123:19: error: 'AMDGPU_GEM_CREATE_VM_ALWAYS_VALID' undeclared (first use in this function); did you mean 'AMDGPU_GEM_CREATE_VRAM_CLEARED'? if (abo->flags & AMDGPU_GEM_CREATE_VM_ALWAYS_VALID && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AMDGPU_GEM_CREATE_VRAM_CLEARED drivers/gpu//drm/amd/amdgpu/amdgpu_gem.c:123:19: note: each undeclared identifier is reported only once for each function it appears in drivers/gpu//drm/amd/amdgpu/amdgpu_gem.c: In function 'amdgpu_gem_create_ioctl': drivers/gpu//drm/amd/amdgpu/amdgpu_gem.c:215:9: error: 'AMDGPU_GEM_CREATE_VM_ALWAYS_VALID' undeclared (first use in this function); did you mean 'AMDGPU_GEM_CREATE_VRAM_CLEARED'? AMDGPU_GEM_CREATE_VM_ALWAYS_VALID)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AMDGPU_GEM_CREATE_VRAM_CLEARED drivers/gpu//drm/amd/amdgpu/amdgpu_gem.c: In function 'amdgpu_gem_op_ioctl': drivers/gpu//drm/amd/amdgpu/amdgpu_gem.c:718:21: error: 'AMDGPU_GEM_CREATE_VM_ALWAYS_VALID' undeclared (first use in this function); did you mean 'AMDGPU_GEM_CREATE_VRAM_CLEARED'? if (robj->flags & AMDGPU_GEM_CREATE_VM_ALWAYS_VALID) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AMDGPU_GEM_CREATE_VRAM_CLEARED -- drivers/gpu//drm/amd/amdgpu/amdgpu_cs.c: In function 'amdgpu_cs_fence_to_handle_ioctl': drivers/gpu//drm/amd/amdgpu/amdgpu_cs.c:1348:47: error: dereferencing pointer to incomplete type 'union drm_amdgpu_fence_to_handle' fence = amdgpu_cs_get_fence(adev, filp, &info->in.fence); ^~ drivers/gpu//drm/amd/amdgpu/amdgpu_cs.c:1353:7: error: 'AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ' undeclared (first use in this function); did you mean 'AMDGPU_FENCE_FLAG_INT'? case AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AMDGPU_FENCE_FLAG_INT drivers/gpu//drm/amd/amdgpu/amdgpu_cs.c:1353:7: note: each undeclared identifier is reported only once for each function it appears in >> drivers/gpu//drm/amd/amdgpu/amdgpu_cs.c:1354:7: error: implicit declaration of function 'drm_syncobj_create'; did you mean 'drm_syncobj_free'? [-Werror=implicit-function-declaration] r = drm_syncobj_create(&syncobj, 0, fence); ^~~~~~~~~~~~~~~~~~ drm_syncobj_free >> drivers/gpu//drm/amd/amdgpu/amdgpu_cs.c:1358:7: error: implicit declaration of function 'drm_syncobj_get_handle'; did you mean 'drm_syncobj_get'? [-Werror=implicit-function-declaration] r = drm_syncobj_get_handle(filp, syncobj, &info->out.handle); ^~~~~~~~~~~~~~~~~~~~~~ drm_syncobj_get drivers/gpu//drm/amd/amdgpu/amdgpu_cs.c:1362:7: error: 'AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ_FD' undeclared (first use in this function); did you mean 'AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ'? case AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ_FD: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ >> drivers/gpu//drm/amd/amdgpu/amdgpu_cs.c:1367:7: error: implicit declaration of function 'drm_syncobj_get_fd'; did you mean 'drm_syncobj_get'? [-Werror=implicit-function-declaration] r = drm_syncobj_get_fd(syncobj, (int*)&info->out.handle); ^~~~~~~~~~~~~~~~~~ drm_syncobj_get drivers/gpu//drm/amd/amdgpu/amdgpu_cs.c:1371:7: error: 'AMDGPU_FENCE_TO_HANDLE_GET_SYNC_FILE_FD' undeclared (first use in this function); did you mean 'AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ_FD'? case AMDGPU_FENCE_TO_HANDLE_GET_SYNC_FILE_FD: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AMDGPU_FENCE_TO_HANDLE_GET_SYNCOBJ_FD drivers/gpu//drm/amd/amdgpu/amdgpu_cs.c:1392:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ cc1: some warnings being treated as errors -- drivers/gpu//drm/amd/amdgpu/amdgpu_prime.c: In function 'amdgpu_gem_prime_export': >> drivers/gpu//drm/amd/amdgpu/amdgpu_prime.c:174:18: error: 'AMDGPU_GEM_CREATE_VM_ALWAYS_VALID' undeclared (first use in this function); did you mean 'AMDGPU_GEM_CREATE_VRAM_CLEARED'? bo->flags & AMDGPU_GEM_CREATE_VM_ALWAYS_VALID) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ AMDGPU_GEM_CREATE_VRAM_CLEARED drivers/gpu//drm/amd/amdgpu/amdgpu_prime.c:174:18: note: each undeclared identifier is reported only once for each function it appears in -- drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function 'dp_test_send_phy_test_pattern': >> drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1715:5: error: 'DP_TEST_80BIT_CUSTOM_PATTERN_79_72' undeclared (first use in this function); did you mean 'DP_TEST_PATTERN_PHY_PATTERN_END'? (DP_TEST_80BIT_CUSTOM_PATTERN_79_72 - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DP_TEST_PATTERN_PHY_PATTERN_END drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1715:5: note: each undeclared identifier is reported only once for each function it appears in >> drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1716:4: error: 'DP_TEST_80BIT_CUSTOM_PATTERN_7_0' undeclared (first use in this function); did you mean 'DP_TEST_80BIT_CUSTOM_PATTERN_79_72'? DP_TEST_80BIT_CUSTOM_PATTERN_7_0)+1] = {0}; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DP_TEST_80BIT_CUSTOM_PATTERN_79_72 >> drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1731:4: error: 'DP_TEST_PHY_PATTERN' undeclared (first use in this function); did you mean 'DP_TEST_PATTERN'? DP_TEST_PHY_PATTERN, ^~~~~~~~~~~~~~~~~~~ DP_TEST_PATTERN >> drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1748:4: error: 'DP_ADJUST_REQUEST_POST_CURSOR2' undeclared (first use in this function); did you mean 'DP_ADJUST_REQUEST_LANE0_1'? DP_ADJUST_REQUEST_POST_CURSOR2, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DP_ADJUST_REQUEST_LANE0_1 drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:1714:16: warning: unused variable 'test_80_bit_pattern' [-Wunused-variable] unsigned char test_80_bit_pattern[ ^~~~~~~~~~~~~~~~~~~ drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function 'get_active_converter_info': >> drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2171:4: error: 'DP_BRANCH_REVISION_START' undeclared (first use in this function); did you mean 'DP_BRANCH_DEVICE_CTRL'? DP_BRANCH_REVISION_START, ^~~~~~~~~~~~~~~~~~~~~~~~ DP_BRANCH_DEVICE_CTRL drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c: In function 'retrieve_link_cap': >> drivers/gpu//drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:2250:5: error: 'DP_DP13_DPCD_REV' undeclared (first use in this function); did you mean 'DP_EDP_DPCD_REV'? DP_DP13_DPCD_REV, ^~~~~~~~~~~~~~~~ DP_EDP_DPCD_REV vim +967 drivers/gpu//drm/amd/amdgpu/amdgpu_ttm.c 966 > 967 return ttm_populate_and_map_pages(adev->dev, >t->ttm); 968 } 969 970 static void amdgpu_ttm_tt_unpopulate(struct ttm_tt *ttm) 971 { 972 struct amdgpu_device *adev; 973 struct amdgpu_ttm_tt *gtt = (void *)ttm; 974 bool slave = !!(ttm->page_flags & TTM_PAGE_FLAG_SG); 975 976 if (gtt && gtt->userptr) { 977 amdgpu_ttm_tt_set_user_pages(ttm, NULL); 978 kfree(ttm->sg); 979 ttm->page_flags &= ~TTM_PAGE_FLAG_SG; 980 return; 981 } 982 983 if (slave) 984 return; 985 986 adev = amdgpu_ttm_adev(ttm->bdev); 987 988 #ifdef CONFIG_SWIOTLB 989 if (swiotlb_nr_tbl()) { 990 ttm_dma_unpopulate(>t->ttm, adev->dev); 991 return; 992 } 993 #endif 994 > 995 ttm_unmap_and_unpopulate_pages(adev->dev, >t->ttm); 996 } 997 --- 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