aboutsummaryrefslogtreecommitdiff
path: root/hw/display
diff options
context:
space:
mode:
authorlijiejun <a_lijiejun@163.com>2021-03-09 04:14:10 -0800
committerLaurent Vivier <laurent@vivier.eu>2021-03-09 22:00:33 +0100
commitc64b1d40d6f266dab1362c6eccfda7f3c164d680 (patch)
tree29a8595c5a7be50eb75be3b5d896ce4a574bb762 /hw/display
parentd32335e8ed89851b0359cacc04890d0f8b7683bd (diff)
downloadqemu-c64b1d40d6f266dab1362c6eccfda7f3c164d680.zip
qemu-c64b1d40d6f266dab1362c6eccfda7f3c164d680.tar.gz
qemu-c64b1d40d6f266dab1362c6eccfda7f3c164d680.tar.bz2
virtio-gpu: Adjust code space style
Fix code style. Operator needs align with eight spaces, and delete line space. Signed-off-by: lijiejun <a_lijiejun@163.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <1615292050-108748-1-git-send-email-a_lijiejun@163.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/display')
-rw-r--r--hw/display/virtio-gpu-3d.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/display/virtio-gpu-3d.c b/hw/display/virtio-gpu-3d.c
index 9eb4890..d989648 100644
--- a/hw/display/virtio-gpu-3d.c
+++ b/hw/display/virtio-gpu-3d.c
@@ -438,7 +438,7 @@ void virtio_gpu_virgl_process_cmd(VirtIOGPU *g,
break;
case VIRTIO_GPU_CMD_RESOURCE_FLUSH:
virgl_cmd_resource_flush(g, cmd);
- break;
+ break;
case VIRTIO_GPU_CMD_RESOURCE_UNREF:
virgl_cmd_resource_unref(g, cmd);
break;
@@ -456,7 +456,6 @@ void virtio_gpu_virgl_process_cmd(VirtIOGPU *g,
case VIRTIO_GPU_CMD_GET_CAPSET:
virgl_cmd_get_capset(g, cmd);
break;
-
case VIRTIO_GPU_CMD_GET_DISPLAY_INFO:
virtio_gpu_get_display_info(g, cmd);
break;