Hi Tim,

[auto build test ERROR on drm-intel/for-linux-next]
[also build test ERROR on v4.5-rc7 next-20160309]
[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/tim-gore-intel-com/drm-i915-implement-WaClearTdlStateAckDirtyBits/20160310-004816
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
config: i386-randconfig-x000-201610 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=i386 

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

   drivers/gpu/drm/i915/intel_lrc.c: In function 'gen9_init_perctx_bb':
>> drivers/gpu/drm/i915/intel_lrc.c:1216:18: error: incompatible types when 
>> assigning to type 'uint32_t {aka unsigned int}' from type 'i915_reg_t {aka 
>> const struct <anonymous>}'
      batch[__index] = (cmd);     \
                     ^
>> drivers/gpu/drm/i915/intel_lrc.c:1463:3: note: in expansion of macro 
>> 'wa_ctx_emit'
      wa_ctx_emit(batch, index, GEN7_ROW_CHICKEN2);
      ^

vim +1216 drivers/gpu/drm/i915/intel_lrc.c

83b8a982 Arun Siluvery 2015-07-08  1210  #define wa_ctx_emit(batch, index, cmd) 
                                \
17ee950d Arun Siluvery 2015-06-19  1211         do {                            
                                \
83b8a982 Arun Siluvery 2015-07-08  1212                 int __index = 
(index)++;                                \
83b8a982 Arun Siluvery 2015-07-08  1213                 if (WARN_ON(__index >= 
(PAGE_SIZE / sizeof(uint32_t)))) { \
17ee950d Arun Siluvery 2015-06-19  1214                         return -ENOSPC; 
                                \
17ee950d Arun Siluvery 2015-06-19  1215                 }                       
                                \
83b8a982 Arun Siluvery 2015-07-08 @1216                 batch[__index] = (cmd); 
                                \
17ee950d Arun Siluvery 2015-06-19  1217         } while (0)
17ee950d Arun Siluvery 2015-06-19  1218  
8f40db77 Ville Syrjälä 2015-11-04  1219  #define wa_ctx_emit_reg(batch, index, 
reg) \

:::::: The code at line 1216 was first introduced by commit
:::::: 83b8a982b101c48fc025066a7b08beaf6fa756f0 drm/i915: Update wa_ctx_emit() 
macro as per kernel coding guidelines

:::::: TO: Arun Siluvery <[email protected]>
:::::: CC: Daniel Vetter <[email protected]>

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to