summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/rcar-du/rcar_du_drv.c
diff options
context:
space:
mode:
authorLaurent Pinchart2015-02-26 20:22:10 +0100
committerLaurent Pinchart2015-03-19 11:00:22 +0100
commit6dbe686b598912051a976bb351bdd06e4abf7c49 (patch)
treecca7ac49b4bb793eab2ea08fc12c02eee8898d00 /drivers/gpu/drm/rcar-du/rcar_du_drv.c
parentdrm: rcar-du: Don't initialize event->pipe field (diff)
downloadkernel-qcow2-linux-6dbe686b598912051a976bb351bdd06e4abf7c49.tar.gz
kernel-qcow2-linux-6dbe686b598912051a976bb351bdd06e4abf7c49.tar.xz
kernel-qcow2-linux-6dbe686b598912051a976bb351bdd06e4abf7c49.zip
drm: rcar-du: Enable the atomic updates API
Set the DRIVER_ATOMIC flag to enable usage of the atomic updates API with the driver. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'drivers/gpu/drm/rcar-du/rcar_du_drv.c')
-rw-r--r--drivers/gpu/drm/rcar-du/rcar_du_drv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index 1d9e4f8568ae..da1216a73969 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -252,7 +252,8 @@ static const struct file_operations rcar_du_fops = {
};
static struct drm_driver rcar_du_driver = {
- .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_PRIME,
+ .driver_features = DRIVER_GEM | DRIVER_MODESET | DRIVER_PRIME
+ | DRIVER_ATOMIC,
.load = rcar_du_load,
.unload = rcar_du_unload,
.preclose = rcar_du_preclose,