Re: [PATCH 02/10] drm/virtio: fix pageflip flush

2019-01-02 Thread Ezequiel Garcia
On Wed, 2018-12-19 at 13:27 +0100, Gerd Hoffmann wrote: > Sending the flush command only makes sense if we actually have > a framebuffer attached to the scanout (handle != 0). > > Signed-off-by: Gerd Hoffmann > --- > drivers/gpu/drm/virtio/virtgpu_plane.c | 11 ++- > 1 file changed, 6 in

[PATCH 02/10] drm/virtio: fix pageflip flush

2018-12-19 Thread Gerd Hoffmann
Sending the flush command only makes sense if we actually have a framebuffer attached to the scanout (handle != 0). Signed-off-by: Gerd Hoffmann --- drivers/gpu/drm/virtio/virtgpu_plane.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/gpu/drm/virtio/virtg