mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
UPSTREAM: 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>
(cherry picked from commit 5443ce86fa)
Change-Id: I2c5db7056a2c0ce99dd83b234f064671ee5b2e2a
Signed-off-by: Alistair Strachan <astrachan@google.com>
This commit is contained in:
committed by
Alistair Strachan
parent
c5707dc8d2
commit
38033e9f37
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user