[Intel-gfx] [PATCH] drm/i915: implement WaClearTdlStateAckDirtyBits

kbuild test robot lkp at intel.com
Wed Mar 9 18:20:24 UTC 2016


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: x86_64-rhel (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (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' from type 'i915_reg_t'
      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 <arun.siluvery at linux.intel.com>
:::::: CC: Daniel Vetter <daniel.vetter at ffwll.ch>

---
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/octet-stream
Size: 36094 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160310/21c001fb/attachment-0001.obj>


More information about the Intel-gfx mailing list