diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-14 13:55:34 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-17 14:50:49 +0100 |
commit | 234489ea55f81a12468a2b8074832be56bbbae53 (patch) | |
tree | 12131c3eb30a601baf2980618a5ef4140d4992bc /drivers/gpu/drm/virtio/virtgpu_object.c | |
parent | 2e819a119d96aa6cfb69f36a7299d9aa690c9dea (diff) | |
download | linux-234489ea55f81a12468a2b8074832be56bbbae53.tar.gz linux-234489ea55f81a12468a2b8074832be56bbbae53.tar.bz2 linux-234489ea55f81a12468a2b8074832be56bbbae53.zip |
drm/virtio: batch display query
Move virtio_gpu_notify() to higher-level functions for
virtio_gpu_cmd_get_display_info() and virtio_gpu_cmd_get_edids().
virtio_gpu_config_changed_work_func() and virtio_gpu_init() will
batch commands and notify only once per update
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Chia-I Wu <olvaffe@gmail.com>
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20200214125535.26349-6-kraxel@redhat.com
Diffstat (limited to 'drivers/gpu/drm/virtio/virtgpu_object.c')
0 files changed, 0 insertions, 0 deletions