tree: git://people.freedesktop.org/~agd5f/linux.git vega10-drop0509 head: b97044091f42cad26368a402c31af13e1319c7ab commit: 3488464228578f9ab9065246e1ec049a78ae0e53 [1707/1987] drm/amdgpu: Add Vega10 support for KFD config: i386-allmodconfig (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 3488464228578f9ab9065246e1ec049a78ae0e53 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:23:0: warning: "pr_fmt" redefined #define pr_fmt(fmt) "kfd2kgd: " fmt In file included from include/linux/kernel.h:13:0, from include/linux/list.h:8, from include/linux/agp_backend.h:33, from include/drm/drmP.h:35, from include/kcl/kcl_drm.h:6, from drivers/gpu/drm/amd/amdgpu/../backport/backport.h:4, from <command-line>:0: include/linux/printk.h:261:0: note: this is the location of the previous definition #define pr_fmt(fmt) fmt 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:5, from <command-line>:0: drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c: In function 'kgd_hqd_load': drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:518:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] lower_32_bits((uint64_t)wptr)); ^ drivers/gpu/drm/amd/amdgpu/amdgpu.h:1741:53: note: in definition of macro 'WREG32' #define WREG32(reg, v) amdgpu_mm_wreg(adev, (reg), (v), 0) ^ >> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:518:10: note: in expansion of macro 'lower_32_bits' lower_32_bits((uint64_t)wptr)); ^~~~~~~~~~~~~ drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:520:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] upper_32_bits((uint64_t)wptr)); ^ drivers/gpu/drm/amd/amdgpu/amdgpu.h:1741:53: note: in definition of macro 'WREG32' #define WREG32(reg, v) amdgpu_mm_wreg(adev, (reg), (v), 0) ^ >> drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c:520:10: note: in expansion of macro 'upper_32_bits' upper_32_bits((uint64_t)wptr)); ^~~~~~~~~~~~~ vim +/lower_32_bits +518 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v9.c 512 513 WREG32(SOC15_REG_OFFSET(GC, 0, mmCP_HQD_PQ_WPTR_LO), 514 lower_32_bits(guessed_wptr)); 515 WREG32(SOC15_REG_OFFSET(GC, 0, mmCP_HQD_PQ_WPTR_HI), 516 upper_32_bits(guessed_wptr)); 517 WREG32(SOC15_REG_OFFSET(GC, 0, mmCP_HQD_PQ_WPTR_POLL_ADDR), > 518 lower_32_bits((uint64_t)wptr)); 519 WREG32(SOC15_REG_OFFSET(GC, 0, mmCP_HQD_PQ_WPTR_POLL_ADDR_HI), > 520 upper_32_bits((uint64_t)wptr)); 521 WREG32(SOC15_REG_OFFSET(GC, 0, mmCP_PQ_WPTR_POLL_CNTL1), 522 get_queue_mask(pipe_id, queue_id)); 523 } --- 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