All of lore.kernel.org
 help / color / mirror / Atom feed
* [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)
@ 2017-04-02 10:41 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2017-04-02 10:41 UTC (permalink / raw)
  To: Alex Deucher; +Cc: kbuild-all, dri-devel

[-- Attachment #1: Type: text/plain, Size: 2229 bytes --]

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 #2: .config.gz --]
[-- Type: application/gzip, Size: 49614 bytes --]

[-- Attachment #3: Type: text/plain, Size: 160 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-02 10:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-02 10:41 [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) kbuild test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.