From: Rob Herring Date: Wed, 13 Jan 2016 21:52:10 +0000 (-0600) Subject: drm: virtio-gpu: set atomic flag X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=5443ce86fa37e7d3cc63d2067d05e3388fdeec17;p=openwrt%2Fstaging%2Fblogic.git drm: virtio-gpu: set atomic flag Advertise atomic mode setting capability to user space. Signed-off-by: Rob Herring Signed-off-by: Dave Airlie --- diff --git a/drivers/gpu/drm/virtio/virtgpu_drv.c b/drivers/gpu/drm/virtio/virtgpu_drv.c index b40ed6061f05..7f898cfdc746 100644 --- a/drivers/gpu/drm/virtio/virtgpu_drv.c +++ b/drivers/gpu/drm/virtio/virtgpu_drv.c @@ -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,