[intel-gvt-linux:topic/userspace_direct_flip_vblank_event 4/4] drivers/gpu/drm/i915/gvt/display.c:415:11: error: 'struct intel_vgpu' has no member named 'vdev'
kbuild test robot
lkp at intel.com
Fri Jun 28 08:27:10 UTC 2019
tree: https://github.com/intel/gvt-linux topic/userspace_direct_flip_vblank_event
head: e89752c1e930e461e08ab40d294d3419610a3c0b
commit: e89752c1e930e461e08ab40d294d3419610a3c0b [4/4] drm/i915/gvt: Deliver vGPU vblank event to userspace
config: x86_64-fedora-25 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-9) 7.4.0
reproduce:
git checkout e89752c1e930e461e08ab40d294d3419610a3c0b
# save the attached .config to linux build tree
make ARCH=x86_64
If you fix the issue, kindly add following tag
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:415:11: error: 'struct intel_vgpu' has no member named 'vdev'
if (vgpu->vdev.vblank_trigger &&
^~
drivers/gpu/drm/i915/gvt/display.c:416:13: error: 'struct intel_vgpu' has no member named 'vdev'
!(vgpu->vdev.display_event_mask & DISPLAY_VBLANK_EVENT))
^~
drivers/gpu/drm/i915/gvt/display.c:417:23: error: 'struct intel_vgpu' has no member named 'vdev'
eventfd_signal(vgpu->vdev.vblank_trigger, 1);
^~
vim +415 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
410 intel_vgpu_trigger_virtual_event(vgpu, event);
411 }
412
413 if (pipe_is_enabled(vgpu, pipe)) {
414 vgpu_vreg_t(vgpu, PIPE_FRMCOUNT_G4X(pipe))++;
> 415 if (vgpu->vdev.vblank_trigger &&
416 !(vgpu->vdev.display_event_mask & DISPLAY_VBLANK_EVENT))
417 eventfd_signal(vgpu->vdev.vblank_trigger, 1);
418
419 intel_vgpu_trigger_virtual_event(vgpu, vblank_event[pipe]);
420 }
421 }
422
---
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/gzip
Size: 48618 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20190628/bd33b8a0/attachment-0001.gz>
More information about the intel-gvt-dev
mailing list