Gerd Hoffmann da566a18a7 virtio-gpu: tweak scanout disable.
- Factor out the code to virtio_gpu_disable_scanout().
- Allow disable scanout 0, show a message then.
- Clear scanout->resource_id.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-id: 20180702162443.16796-2-kraxel@redhat.com
2018-07-03 11:19:39 +02:00
..
2018-07-02 17:21:52 +02:00
2017-03-27 12:14:45 +02:00
2018-03-06 14:00:58 +01:00
2017-05-10 10:19:24 +03:00
2016-01-29 15:07:24 +00:00
2018-05-07 11:47:57 +02:00
2018-07-02 17:21:52 +02:00
2017-04-24 12:32:12 +01:00
2016-09-22 18:13:08 +01:00
2018-06-26 16:03:40 +02:00
2018-06-26 16:03:40 +02:00
2018-06-04 09:44:10 +02:00
2018-06-26 16:03:40 +02:00
2018-06-27 13:01:40 +01:00