* [drm-drm-intel:drm-intel-next-queued 1/1] drivers/gpu/drm/i915/gt/intel_lrc.c:1224:3: note: in expansion of macro 'I915_SELFTEST_ONLY'
@ 2020-02-16 17:14 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-02-16 17:14 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3069 bytes --]
tree: git://anongit.freedesktop.org/drm/drm-intel drm-intel-next-queued
head: 1883a0a4658eaba354db2179b4d3395247d27582
commit: 1883a0a4658eaba354db2179b4d3395247d27582 [1/1] 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@intel.com>
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(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 28326 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-16 17:14 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-16 17:14 [drm-drm-intel:drm-intel-next-queued 1/1] drivers/gpu/drm/i915/gt/intel_lrc.c:1224:3: note: in expansion of macro 'I915_SELFTEST_ONLY' kbuild test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.