diff options
author | Vivek Kasireddy <vivek.kasireddy@intel.com> | 2021-05-26 16:14:21 -0700 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2021-05-27 12:07:37 +0200 |
commit | e64d4b6a9bc3ba216a988276bcdc27d06fd48e59 (patch) | |
tree | bc3e8145deadc4e28a747e32a7b2336738fd98d7 /hw/net/stellaris_enet.c | |
parent | 25c001a40346342550ba152817ab306b6df0bd77 (diff) |
virtio-gpu: Refactor virtio_gpu_set_scanout
Store the meta-data associated with a FB in a new object
(struct virtio_gpu_framebuffer) and pass the object to set_scanout.
Also move code in set_scanout into a do_set_scanout function.
This will be helpful when adding set_scanout_blob API.
Based-on-patch-by: Gerd Hoffmann <kraxel@redhat.com>
Cc: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Vivek Kasireddy <vivek.kasireddy@intel.com>
Message-Id: <20210526231429.1045476-7-vivek.kasireddy@intel.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/net/stellaris_enet.c')
0 files changed, 0 insertions, 0 deletions