* [PATCH] drm/virtio: fix vblank handling
@ 2020-02-05 6:53 ` Gerd Hoffmann
0 siblings, 0 replies; 6+ messages in thread
From: Gerd Hoffmann @ 2020-02-05 6:53 UTC (permalink / raw)
To: dri-devel
Cc: olvaffe, gurchetansingh, tzimmermann, Gerd Hoffmann,
David Airlie, Daniel Vetter, open list:VIRTIO GPU DRIVER,
open list
virtio has its own commit fail function. Add the
drm_atomic_helper_fake_vblank() call there.
Fixes: 2a735ad3d211 ("drm/virtio: Remove sending of vblank event")
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
drivers/gpu/drm/virtio/virtgpu_display.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c
index ecf4ba7cc32b..7b0f0643bb2d 100644
--- a/drivers/gpu/drm/virtio/virtgpu_display.c
+++ b/drivers/gpu/drm/virtio/virtgpu_display.c
@@ -324,6 +324,7 @@ static void vgdev_atomic_commit_tail(struct drm_atomic_state *state)
drm_atomic_helper_commit_modeset_enables(dev, state);
drm_atomic_helper_commit_planes(dev, state, 0);
+ drm_atomic_helper_fake_vblank(state);
drm_atomic_helper_commit_hw_done(state);
drm_atomic_helper_wait_for_vblanks(dev, state);
--
2.18.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] drm/virtio: fix vblank handling
@ 2020-02-05 6:53 ` Gerd Hoffmann
0 siblings, 0 replies; 6+ messages in thread
From: Gerd Hoffmann @ 2020-02-05 6:53 UTC (permalink / raw)
To: dri-devel
Cc: olvaffe, gurchetansingh, tzimmermann, Gerd Hoffmann,
David Airlie, Daniel Vetter, open list:VIRTIO GPU DRIVER,
open list
virtio has its own commit fail function. Add the
drm_atomic_helper_fake_vblank() call there.
Fixes: 2a735ad3d211 ("drm/virtio: Remove sending of vblank event")
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
drivers/gpu/drm/virtio/virtgpu_display.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c
index ecf4ba7cc32b..7b0f0643bb2d 100644
--- a/drivers/gpu/drm/virtio/virtgpu_display.c
+++ b/drivers/gpu/drm/virtio/virtgpu_display.c
@@ -324,6 +324,7 @@ static void vgdev_atomic_commit_tail(struct drm_atomic_state *state)
drm_atomic_helper_commit_modeset_enables(dev, state);
drm_atomic_helper_commit_planes(dev, state, 0);
+ drm_atomic_helper_fake_vblank(state);
drm_atomic_helper_commit_hw_done(state);
drm_atomic_helper_wait_for_vblanks(dev, state);
--
2.18.1
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [PATCH] drm/virtio: fix vblank handling
@ 2020-02-05 6:53 ` Gerd Hoffmann
0 siblings, 0 replies; 6+ messages in thread
From: Gerd Hoffmann @ 2020-02-05 6:53 UTC (permalink / raw)
To: dri-devel
Cc: David Airlie, Daniel Vetter, open list, gurchetansingh,
Gerd Hoffmann, tzimmermann, open list:VIRTIO GPU DRIVER
virtio has its own commit fail function. Add the
drm_atomic_helper_fake_vblank() call there.
Fixes: 2a735ad3d211 ("drm/virtio: Remove sending of vblank event")
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
---
drivers/gpu/drm/virtio/virtgpu_display.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c
index ecf4ba7cc32b..7b0f0643bb2d 100644
--- a/drivers/gpu/drm/virtio/virtgpu_display.c
+++ b/drivers/gpu/drm/virtio/virtgpu_display.c
@@ -324,6 +324,7 @@ static void vgdev_atomic_commit_tail(struct drm_atomic_state *state)
drm_atomic_helper_commit_modeset_enables(dev, state);
drm_atomic_helper_commit_planes(dev, state, 0);
+ drm_atomic_helper_fake_vblank(state);
drm_atomic_helper_commit_hw_done(state);
drm_atomic_helper_wait_for_vblanks(dev, state);
--
2.18.1
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/virtio: fix vblank handling
2020-02-05 6:53 ` Gerd Hoffmann
(?)
@ 2020-02-05 7:39 ` Thomas Zimmermann
-1 siblings, 0 replies; 6+ messages in thread
From: Thomas Zimmermann @ 2020-02-05 7:39 UTC (permalink / raw)
To: Gerd Hoffmann, dri-devel
Cc: olvaffe, gurchetansingh, David Airlie, Daniel Vetter,
open list:VIRTIO GPU DRIVER, open list
[-- Attachment #1.1: Type: text/plain, Size: 1268 bytes --]
Hi
Am 05.02.20 um 07:53 schrieb Gerd Hoffmann:
> virtio has its own commit fail function. Add the
> drm_atomic_helper_fake_vblank() call there.
>
> Fixes: 2a735ad3d211 ("drm/virtio: Remove sending of vblank event")
Thanks for fixing the fallout.
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
> drivers/gpu/drm/virtio/virtgpu_display.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c
> index ecf4ba7cc32b..7b0f0643bb2d 100644
> --- a/drivers/gpu/drm/virtio/virtgpu_display.c
> +++ b/drivers/gpu/drm/virtio/virtgpu_display.c
> @@ -324,6 +324,7 @@ static void vgdev_atomic_commit_tail(struct drm_atomic_state *state)
> drm_atomic_helper_commit_modeset_enables(dev, state);
> drm_atomic_helper_commit_planes(dev, state, 0);
>
> + drm_atomic_helper_fake_vblank(state);
> drm_atomic_helper_commit_hw_done(state);
>
> drm_atomic_helper_wait_for_vblanks(dev, state);
>
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/virtio: fix vblank handling
@ 2020-02-05 7:39 ` Thomas Zimmermann
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Zimmermann @ 2020-02-05 7:39 UTC (permalink / raw)
To: Gerd Hoffmann, dri-devel
Cc: olvaffe, gurchetansingh, David Airlie, Daniel Vetter,
open list:VIRTIO GPU DRIVER, open list
[-- Attachment #1.1: Type: text/plain, Size: 1268 bytes --]
Hi
Am 05.02.20 um 07:53 schrieb Gerd Hoffmann:
> virtio has its own commit fail function. Add the
> drm_atomic_helper_fake_vblank() call there.
>
> Fixes: 2a735ad3d211 ("drm/virtio: Remove sending of vblank event")
Thanks for fixing the fallout.
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
> drivers/gpu/drm/virtio/virtgpu_display.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c
> index ecf4ba7cc32b..7b0f0643bb2d 100644
> --- a/drivers/gpu/drm/virtio/virtgpu_display.c
> +++ b/drivers/gpu/drm/virtio/virtgpu_display.c
> @@ -324,6 +324,7 @@ static void vgdev_atomic_commit_tail(struct drm_atomic_state *state)
> drm_atomic_helper_commit_modeset_enables(dev, state);
> drm_atomic_helper_commit_planes(dev, state, 0);
>
> + drm_atomic_helper_fake_vblank(state);
> drm_atomic_helper_commit_hw_done(state);
>
> drm_atomic_helper_wait_for_vblanks(dev, state);
>
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] drm/virtio: fix vblank handling
@ 2020-02-05 7:39 ` Thomas Zimmermann
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Zimmermann @ 2020-02-05 7:39 UTC (permalink / raw)
To: Gerd Hoffmann, dri-devel
Cc: David Airlie, Daniel Vetter, open list,
open list:VIRTIO GPU DRIVER, gurchetansingh
[-- Attachment #1.1.1: Type: text/plain, Size: 1268 bytes --]
Hi
Am 05.02.20 um 07:53 schrieb Gerd Hoffmann:
> virtio has its own commit fail function. Add the
> drm_atomic_helper_fake_vblank() call there.
>
> Fixes: 2a735ad3d211 ("drm/virtio: Remove sending of vblank event")
Thanks for fixing the fallout.
> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
> ---
> drivers/gpu/drm/virtio/virtgpu_display.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/virtio/virtgpu_display.c b/drivers/gpu/drm/virtio/virtgpu_display.c
> index ecf4ba7cc32b..7b0f0643bb2d 100644
> --- a/drivers/gpu/drm/virtio/virtgpu_display.c
> +++ b/drivers/gpu/drm/virtio/virtgpu_display.c
> @@ -324,6 +324,7 @@ static void vgdev_atomic_commit_tail(struct drm_atomic_state *state)
> drm_atomic_helper_commit_modeset_enables(dev, state);
> drm_atomic_helper_commit_planes(dev, state, 0);
>
> + drm_atomic_helper_fake_vblank(state);
> drm_atomic_helper_commit_hw_done(state);
>
> drm_atomic_helper_wait_for_vblanks(dev, state);
>
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5, 90409 Nürnberg, Germany
(HRB 36809, AG Nürnberg)
Geschäftsführer: Felix Imendörffer
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-02-05 7:39 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-05 6:53 [PATCH] drm/virtio: fix vblank handling Gerd Hoffmann
2020-02-05 6:53 ` Gerd Hoffmann
2020-02-05 6:53 ` Gerd Hoffmann
2020-02-05 7:39 ` Thomas Zimmermann
2020-02-05 7:39 ` Thomas Zimmermann
2020-02-05 7:39 ` Thomas Zimmermann
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.