[radeon-alex:drm-next-4.12-wip 190/320] drivers/gpu/drm/amd/amdgpu/amdgpu.h:981:28: error: 'NGG_BUF_MAX' undeclared here (not in a function)

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

 



tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.12-wip
head:   aaee136fb4cee7136f1436bc5303d2dcff3bba5c
commit: bce23e00f3369ce8c32c90f087e37c01f83002d1 [190/320] drm/amdgpu: add NGG parameters
config: alpha-allyesconfig (attached as .config)
compiler: alpha-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout bce23e00f3369ce8c32c90f087e37c01f83002d1
        # save the attached .config to linux build tree
        make.cross ARCH=alpha 

All errors (new ones prefixed by >>):

   In file included from arch/alpha/include/asm/pgtable.h:18:0,
                    from include/linux/mm.h:68,
                    from include/linux/scatterlist.h:7,
                    from include/linux/dma-mapping.h:10,
                    from include/drm/drmP.h:37,
                    from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c:26:
>> arch/alpha/include/uapi/asm/setup.h:27:18: error: expected identifier before '(' token
    #define ZERO_PGE (PAGE_OFFSET+KERNEL_START_PHYS+0x0A000)
                     ^
   arch/alpha/include/uapi/asm/setup.h:37:17: note: in expansion of macro 'ZERO_PGE'
    #define PARAM   ZERO_PGE
                    ^~~~~~~~
   drivers/gpu/drm/amd/amdgpu/amdgpu.h:976:2: note: in expansion of macro 'PARAM'
     PARAM,
     ^~~~~
   In file included from drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v7.c:27:0:
>> drivers/gpu/drm/amd/amdgpu/amdgpu.h:981:28: error: 'NGG_BUF_MAX' undeclared here (not in a function)
     struct amdgpu_ngg_buf buf[NGG_BUF_MAX];
                               ^~~~~~~~~~~

vim +/NGG_BUF_MAX +981 drivers/gpu/drm/amd/amdgpu/amdgpu.h

   970	};
   971	
   972	enum {
   973		PRIM = 0,
   974		POS,
   975		CNTL,
 > 976		PARAM,
   977		NGG_BUF_MAX
   978	};
   979	
   980	struct amdgpu_ngg {
 > 981		struct amdgpu_ngg_buf	buf[NGG_BUF_MAX];
   982		uint32_t		gds_reserve_addr;
   983		uint32_t		gds_reserve_size;
   984		bool			init;

---
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