From: kbuild test robot <lkp@intel.com>
To: Tina Zhang <tina.zhang@intel.com>
Cc: kbuild-all@01.org, intel-gvt-dev@lists.freedesktop.org,
kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
Tina Zhang <tina.zhang@intel.com>,
kraxel@redhat.com, zhenyuw@linux.intel.com, zhiyuan.lv@intel.com,
zhi.a.wang@intel.com, kevin.tian@intel.com, hang.yuan@intel.com,
alex.williamson@redhat.com, yi.l.liu@intel.com,
Kechen Lu <kechen.lu@intel.com>
Subject: Re: [PATCH v6 4/6] drm/i915/gvt: Deliver vGPU refresh event to userspace
Date: Tue, 24 Sep 2019 17:02:34 +0800 [thread overview]
Message-ID: <201909241618.VLGKP4ka%lkp@intel.com> (raw)
In-Reply-To: <20190924064143.9282-5-tina.zhang@intel.com>
[-- Attachment #1: Type: text/plain, Size: 3387 bytes --]
Hi Tina,
Thank you for the patch! Yet something to improve:
[auto build test ERROR on drm-intel/for-linux-next]
[cannot apply to v5.3 next-20190920]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Tina-Zhang/Deliver-vGPU-display-refresh-event-to-userspace/20190924-145111
base: git://anongit.freedesktop.org/drm-intel for-linux-next
config: x86_64-fedora-25 (attached as .config)
compiler: gcc-7 (Debian 7.4.0-13) 7.4.0
reproduce:
# 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@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:429:10: 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:429:40: 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:431:22: error: 'struct intel_vgpu' has no member named 'vdev'
eventfd_signal(vgpu->vdev.vblank_trigger, eventfd_signal_val);
^~
vim +429 drivers/gpu/drm/i915/gvt/display.c
393
394 static void emulate_vblank_on_pipe(struct intel_vgpu *vgpu, int pipe)
395 {
396 struct drm_i915_private *dev_priv = vgpu->gvt->dev_priv;
397 struct intel_vgpu_irq *irq = &vgpu->irq;
398 int vblank_event[] = {
399 [PIPE_A] = PIPE_A_VBLANK,
400 [PIPE_B] = PIPE_B_VBLANK,
401 [PIPE_C] = PIPE_C_VBLANK,
402 };
403 int pri_flip_event = SKL_FLIP_EVENT(pipe, PLANE_PRIMARY);
404 int event;
405 u64 eventfd_signal_val = 0;
406
407 if (pipe < PIPE_A || pipe > PIPE_C)
408 return;
409
410 for_each_set_bit(event, irq->flip_done_event[pipe],
411 INTEL_GVT_EVENT_MAX) {
412 clear_bit(event, irq->flip_done_event[pipe]);
413 if (!pipe_is_enabled(vgpu, pipe))
414 continue;
415
416 if (event == pri_flip_event)
417 eventfd_signal_val |= DISPLAY_PRI_REFRESH_EVENT_VAL;
418
419 intel_vgpu_trigger_virtual_event(vgpu, event);
420 }
421
422 if (eventfd_signal_val)
423 vgpu->no_pageflip_count = 0;
424 else if (!eventfd_signal_val && vgpu->no_pageflip_count > PAGEFLIP_DELAY_THR)
425 eventfd_signal_val |= DISPLAY_PRI_REFRESH_EVENT_VAL;
426 else
427 vgpu->no_pageflip_count++;
428
> 429 if (vgpu->vdev.vblank_trigger && !vgpu->vdev.display_event_mask &&
430 eventfd_signal_val)
431 eventfd_signal(vgpu->vdev.vblank_trigger, eventfd_signal_val);
432
433 if (pipe_is_enabled(vgpu, pipe)) {
434 vgpu_vreg_t(vgpu, PIPE_FRMCOUNT_G4X(pipe))++;
435 intel_vgpu_trigger_virtual_event(vgpu, vblank_event[pipe]);
436 }
437 }
438
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 50927 bytes --]
next prev parent reply other threads:[~2019-09-24 9:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-24 6:41 [PATCH v6 0/6] Deliver vGPU display refresh event to userspace Tina Zhang
2019-09-24 6:41 ` [PATCH v6 1/6] vfio: Define device specific irq type capability Tina Zhang
2019-09-24 6:41 ` [PATCH v6 2/6] vfio: Introduce vGPU display irq type Tina Zhang
2019-09-24 20:35 ` Alex Williamson
2019-09-24 6:41 ` [PATCH v6 3/6] drm/i915/gvt: Register vGPU display event irq Tina Zhang
2019-09-24 6:41 ` [PATCH v6 4/6] drm/i915/gvt: Deliver vGPU refresh event to userspace Tina Zhang
2019-09-24 9:02 ` kbuild test robot [this message]
2019-09-24 20:10 ` Alex Williamson
2019-09-24 6:41 ` [PATCH v6 5/6] drm/i915/gvt: Deliver async primary plane page flip events at vblank Tina Zhang
2019-09-24 20:14 ` Alex Williamson
2019-09-24 6:41 ` [PATCH v6 6/6] drm/i915/gvt: Add cursor plane reg update trap emulation handler Tina Zhang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201909241618.VLGKP4ka%lkp@intel.com \
--to=lkp@intel.com \
--cc=alex.williamson@redhat.com \
--cc=hang.yuan@intel.com \
--cc=intel-gvt-dev@lists.freedesktop.org \
--cc=kbuild-all@01.org \
--cc=kechen.lu@intel.com \
--cc=kevin.tian@intel.com \
--cc=kraxel@redhat.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tina.zhang@intel.com \
--cc=yi.l.liu@intel.com \
--cc=zhenyuw@linux.intel.com \
--cc=zhi.a.wang@intel.com \
--cc=zhiyuan.lv@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).