Re: [Intel-gfx] [PATCH] drm/ttm: Remove TTM_HAS_AGP

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

 



Hi Daniel,

[auto build test WARNING on drm/drm-next]
[also build test WARNING on v4.6-rc1 next-20160330]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]

url:    https://github.com/0day-ci/linux/commits/Daniel-Vetter/drm-ttm-Remove-TTM_HAS_AGP/20160330-191030
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: sparc64-allyesconfig (attached as .config)
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=sparc64 

All warnings (new ones prefixed by >>):

   In file included from include/drm/ttm/ttm_page_alloc.h:29:0,
                    from drivers/gpu/drm/ttm/ttm_memory.c:32:
>> include/drm/ttm/ttm_bo_driver.h:1033:18: warning: extra tokens at end of #ifdef directive
    #ifdef IS_ENABLED(CONFIG_AGP)
                     ^
   In file included from include/drm/ttm/ttm_page_alloc.h:29:0,
                    from drivers/gpu/drm/ttm/ttm_memory.c:32:
>> include/drm/ttm/ttm_bo_driver.h:1033:18: warning: extra tokens at end of #ifdef directive
    #ifdef IS_ENABLED(CONFIG_AGP)
                     ^

vim +1033 include/drm/ttm/ttm_bo_driver.h

  1017					     struct fence *fence,
  1018					     bool evict, bool no_wait_gpu,
  1019					     struct ttm_mem_reg *new_mem);
  1020	/**
  1021	 * ttm_io_prot
  1022	 *
  1023	 * @c_state: Caching state.
  1024	 * @tmp: Page protection flag for a normal, cached mapping.
  1025	 *
  1026	 * Utility function that returns the pgprot_t that should be used for
  1027	 * setting up a PTE with the caching model indicated by @c_state.
  1028	 */
  1029	extern pgprot_t ttm_io_prot(uint32_t caching_flags, pgprot_t tmp);
  1030	
  1031	extern const struct ttm_mem_type_manager_func ttm_bo_manager_func;
  1032	
> 1033	#ifdef IS_ENABLED(CONFIG_AGP)
  1034	#include <linux/agp_backend.h>
  1035	
  1036	/**
  1037	 * ttm_agp_tt_create
  1038	 *
  1039	 * @bdev: Pointer to a struct ttm_bo_device.
  1040	 * @bridge: The agp bridge this device is sitting on.
  1041	 * @size: Size of the data needed backing.

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
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