All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] 4.15 vmgfx boot warning
@ 2017-11-22 21:05 Woody Suwalski
  2017-12-13 21:25 ` Sinclair Yeh
  0 siblings, 1 reply; 6+ messages in thread
From: Woody Suwalski @ 2017-11-22 21:05 UTC (permalink / raw)
  To: Sinclair Yeh; +Cc: DRI mailing list, LKML, Dave Airlie

The 4.15 vmwgfx driver shows a warning during boot (32 bit x86)
It is caused by a mismatch between the result of vmw_enable_vblank() and 
what the drm_atomic_helper expects:
    /...
    ret = drm_crtc_vblank_get(crtc);
    WARN_ONCE(ret != -EINVAL, "driver forgot to call 
drm_crtc_vblank_off()\n");
    /...

Signed-off by: Woody Suwalski <terraluna977@gmail.com>

--- a/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c    2017-11-22 
15:29:46.511674079 -0500
+++ b/drivers/gpu/drm/vmwgfx/vmwgfx_kms.c    2017-11-22 
15:30:35.344559592 -0500
@@ -1869,7 +1869,7 @@ u32 vmw_get_vblank_counter(struct drm_de
   */
  int vmw_enable_vblank(struct drm_device *dev, unsigned int pipe)
  {
-    return -ENOSYS;
+    return -EINVAL;
  }

  /**

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-12-19 19:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-22 21:05 [PATCH] 4.15 vmgfx boot warning Woody Suwalski
2017-12-13 21:25 ` Sinclair Yeh
2017-12-16  0:01   ` Woody Suwalski
2017-12-19  0:26     ` [PATCH v.2] " Woody Suwalski
2017-12-19 19:50       ` Sinclair Yeh
2017-12-19 19:50         ` Sinclair Yeh

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.