Skip to content

Commit 5443ce8

Browse files
robherringairlied
authored andcommitted
drm: virtio-gpu: set atomic flag
Advertise atomic mode setting capability to user space. Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Dave Airlie <airlied@redhat.com>
1 parent 4109e7f commit 5443ce8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/virtio/virtgpu_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ static const struct file_operations virtio_gpu_driver_fops = {
118118

119119

120120
static struct drm_driver driver = {
121-
.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER,
121+
.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER | DRIVER_ATOMIC,
122122
.set_busid = drm_virtio_set_busid,
123123
.load = virtio_gpu_driver_load,
124124
.unload = virtio_gpu_driver_unload,

0 commit comments

Comments
 (0)