Hi Tvrtko, FYI, the error/warning still remains. tree: git://anongit.freedesktop.org/drm-intel drm-intel-next-queued head: d194314da04eb965c651dcef6d692dc83821a414 commit: 1883a0a4658eaba354db2179b4d3395247d27582 [1/2] drm/i915: Track hw reported context runtime config: i386-defconfig (attached as .config) compiler: gcc-7 (Debian 7.5.0-4) 7.5.0 reproduce: git checkout 1883a0a4658eaba354db2179b4d3395247d27582 # save the attached .config to linux build tree make ARCH=i386 If you fix the issue, kindly add following tag Reported-by: kbuild test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): In file included from drivers/gpu/drm/i915/gt/intel_engine_types.h:24:0, from drivers/gpu/drm/i915/gt/intel_context_types.h:18, from drivers/gpu/drm/i915/gem/i915_gem_context_types.h:20, from drivers/gpu/drm/i915/i915_request.h:31, from drivers/gpu/drm/i915/i915_active.h:13, from drivers/gpu/drm/i915/gem/i915_gem_object_types.h:13, from drivers/gpu/drm/i915/display/intel_frontbuffer.h:30, from drivers/gpu/drm/i915/i915_drv.h:72, from drivers/gpu/drm/i915/gt/intel_lrc.c:136: drivers/gpu/drm/i915/gt/intel_lrc.c: In function 'intel_context_update_runtime': drivers/gpu/drm/i915/i915_selftest.h:118:31: warning: statement with no effect [-Wunused-value] #define I915_SELFTEST_ONLY(x) 0 ^ >> drivers/gpu/drm/i915/gt/intel_lrc.c:1224:3: note: in expansion of macro 'I915_SELFTEST_ONLY' I915_SELFTEST_ONLY(ce->runtime.num_underflow += dt < 0); ^~~~~~~~~~~~~~~~~~ drivers/gpu/drm/i915/i915_selftest.h:118:31: warning: statement with no effect [-Wunused-value] #define I915_SELFTEST_ONLY(x) 0 ^ drivers/gpu/drm/i915/gt/intel_lrc.c:1225:3: note: in expansion of macro 'I915_SELFTEST_ONLY' I915_SELFTEST_ONLY(ce->runtime.max_underflow = ^~~~~~~~~~~~~~~~~~ vim +/I915_SELFTEST_ONLY +1224 drivers/gpu/drm/i915/gt/intel_lrc.c 1208 1209 static void intel_context_update_runtime(struct intel_context *ce) 1210 { 1211 u32 old; 1212 s32 dt; 1213 1214 if (intel_context_is_barrier(ce)) 1215 return; 1216 1217 old = ce->runtime.last; 1218 ce->runtime.last = intel_context_get_runtime(ce); 1219 dt = ce->runtime.last - old; 1220 1221 if (unlikely(dt <= 0)) { 1222 CE_TRACE(ce, "runtime underflow: last=%u, new=%u, delta=%d\n", 1223 old, ce->runtime.last, dt); > 1224 I915_SELFTEST_ONLY(ce->runtime.num_underflow += dt < 0); 1225 I915_SELFTEST_ONLY(ce->runtime.max_underflow = 1226 max_t(u32, ce->runtime.max_underflow, -dt)); 1227 return; 1228 } 1229 1230 ewma_runtime_add(&ce->runtime.avg, dt); 1231 ce->runtime.total += dt; 1232 } 1233 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel