[radeon-alex:drm-next-4.11-wip 131/131] drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:380:48: error: expected ')' before ';' token

kbuild test robot fengguang.wu at intel.com
Mon Jan 23 22:37:58 UTC 2017


tree:   git://people.freedesktop.org/~agd5f/linux.git drm-next-4.11-wip
head:   ebe88f26b6161d76f3d74a458bcb19759b15a1b2
commit: ebe88f26b6161d76f3d74a458bcb19759b15a1b2 [131/131] drm/amdgpu: Bring bo creation in line with radeon driver
config: x86_64-randconfig-x019-201704 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout ebe88f26b6161d76f3d74a458bcb19759b15a1b2
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

   drivers/gpu/drm/amd/amdgpu/amdgpu_object.c: In function 'amdgpu_bo_create_restricted':
>> drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:377:2: warning: #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance thanks to write-combining [-Wcpp]
    #warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \
     ^~~~~~~
>> drivers/gpu/drm/amd/amdgpu/amdgpu_object.c:380:48: error: expected ')' before ';' token
     if (bo->flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC;)
                                                   ^

vim +380 drivers/gpu/drm/amd/amdgpu/amdgpu_object.c

   371	#elif defined(CONFIG_X86) && !defined(CONFIG_X86_PAT)
   372		/* Don't try to enable write-combining when it can't work, or things
   373		 * may be slow
   374		 * See https://bugs.freedesktop.org/show_bug.cgi?id=88758
   375		 */
   376	
 > 377	#warning Please enable CONFIG_MTRR and CONFIG_X86_PAT for better performance \
   378		 thanks to write-combining
   379	
 > 380		if (bo->flags & AMDGPU_GEM_CREATE_CPU_GTT_USWC;)
   381			DRM_INFO_ONCE("Please enable CONFIG_MTRR and CONFIG_X86_PAT for "
   382				      "better performance thanks to write-combining\n");
   383		bo->flags &= ~AMDGPU_GEM_CREATE_CPU_GTT_USWC;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 28037 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20170124/f40a48ba/attachment-0001.gz>


More information about the dri-devel mailing list