All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] virtio-gpu: fix vblank events
@ 2016-10-13 11:55 ` Gerd Hoffmann
  0 siblings, 0 replies; 9+ messages in thread
From: Gerd Hoffmann @ 2016-10-13 11:55 UTC (permalink / raw)
  To: dri-devel
  Cc: daniel.vetter, open list, open list:VIRTIO GPU DRIVER,
	Gerd Hoffmann, David Airlie

virtio-gpu sends vblank events in virtio_gpu_crtc_atomic_flush, and
because of that it must be called for disabled planes too.  Ask
drm_atomic_helper_commit_planes to do that.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
 drivers/gpu/drm/virtio/virtgpu_display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c
index 4e192aa..75ec172 100644
--- a/drivers/gpu/drm/virtio/virtgpu_display.c
+++ b/drivers/gpu/drm/virtio/virtgpu_display.c
@@ -338,7 +338,7 @@ static void vgdev_atomic_commit_tail(struct drm_atomic_state *state)
 
 	drm_atomic_helper_commit_modeset_disables(dev, state);
 	drm_atomic_helper_commit_modeset_enables(dev, state);
-	drm_atomic_helper_commit_planes(dev, state, true);
+	drm_atomic_helper_commit_planes(dev, state, false);
 
 	drm_atomic_helper_commit_hw_done(state);
 
-- 
1.8.3.1

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2016-11-03  8:41 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-13 11:55 [PATCH] virtio-gpu: fix vblank events Gerd Hoffmann
2016-10-13 11:55 ` Gerd Hoffmann
2016-10-18 14:27 ` [PATCH v2] " Gustavo Padovan
2016-10-18 17:31   ` Gustavo Padovan
2016-10-18 14:28 ` Gustavo Padovan
2016-10-18 17:32 ` Gustavo Padovan
2016-11-02 22:00   ` Gustavo Padovan
2016-11-03  8:35     ` Gerd Hoffmann
2016-11-03  8:41       ` Gerd Hoffmann

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.