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

Attachment: .config.gz
Description: application/gzip

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

Reply via email to