Skip to content

Commit

Permalink
drm: virtio-gpu: set atomic flag
Browse files Browse the repository at this point in the history
Advertise atomic mode setting capability to user space.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Rob Herring authored and Dave Airlie committed Feb 10, 2016
1 parent 4109e7f commit 5443ce8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/virtio/virtgpu_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ static const struct file_operations virtio_gpu_driver_fops = {


static struct drm_driver driver = {
.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER,
.driver_features = DRIVER_MODESET | DRIVER_GEM | DRIVER_PRIME | DRIVER_RENDER | DRIVER_ATOMIC,
.set_busid = drm_virtio_set_busid,
.load = virtio_gpu_driver_load,
.unload = virtio_gpu_driver_unload,
Expand Down

0 comments on commit 5443ce8

Please sign in to comment.