[intel-gvt-linux:topic/drm-ui-direct-flip 3/5] drivers/gpu/drm/i915/gvt/display.c:410:11: error: 'struct intel_vgpu' has no member named 'vdev'
kbuild test robot
lkp at intel.com
Wed Apr 22 03:30:11 UTC 2020
tree: https://github.com/intel/gvt-linux.git topic/drm-ui-direct-flip
head: 57a9a9830597774ecd5e16a8f3415d03825c015e
commit: 8dae6a8b97ea850a2da677e947947873e3539f80 [3/5] drm/i915/gvt: Notify user space with the dmabuf flip event
config: x86_64-randconfig-b002-20200421 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
git checkout 8dae6a8b97ea850a2da677e947947873e3539f80
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp at intel.com>
All errors (new ones prefixed by >>):
drivers/gpu/drm/i915/gvt/display.c: In function 'emulate_vblank_on_pipe':
>> drivers/gpu/drm/i915/gvt/display.c:410:11: error: 'struct intel_vgpu' has no member named 'vdev'
if (vgpu->vdev.vblank_trigger && !vgpu->vdev.display_event_mask)
^~
drivers/gpu/drm/i915/gvt/display.c:410:41: error: 'struct intel_vgpu' has no member named 'vdev'
if (vgpu->vdev.vblank_trigger && !vgpu->vdev.display_event_mask)
^~
drivers/gpu/drm/i915/gvt/display.c:411:23: error: 'struct intel_vgpu' has no member named 'vdev'
eventfd_signal(vgpu->vdev.vblank_trigger, 1);
^~
vim +410 drivers/gpu/drm/i915/gvt/display.c
389
390 static void emulate_vblank_on_pipe(struct intel_vgpu *vgpu, int pipe)
391 {
392 struct drm_i915_private *dev_priv = vgpu->gvt->dev_priv;
393 struct intel_vgpu_irq *irq = &vgpu->irq;
394 int vblank_event[] = {
395 [PIPE_A] = PIPE_A_VBLANK,
396 [PIPE_B] = PIPE_B_VBLANK,
397 [PIPE_C] = PIPE_C_VBLANK,
398 };
399 int event;
400
401 if (pipe < PIPE_A || pipe > PIPE_C)
402 return;
403
404 for_each_set_bit(event, irq->flip_done_event[pipe],
405 INTEL_GVT_EVENT_MAX) {
406 clear_bit(event, irq->flip_done_event[pipe]);
407 if (!pipe_is_enabled(vgpu, pipe))
408 continue;
409 /* Notify user space */
> 410 if (vgpu->vdev.vblank_trigger && !vgpu->vdev.display_event_mask)
411 eventfd_signal(vgpu->vdev.vblank_trigger, 1);
412
413 intel_vgpu_trigger_virtual_event(vgpu, event);
414 }
415
416 if (pipe_is_enabled(vgpu, pipe)) {
417 vgpu_vreg_t(vgpu, PIPE_FRMCOUNT_G4X(pipe))++;
418 intel_vgpu_trigger_virtual_event(vgpu, vblank_event[pipe]);
419 }
420 }
421
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 44185 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20200422/69ec8177/attachment-0001.gz>
More information about the intel-gvt-dev
mailing list