From d6455379a9ab87ababce828d6691bdaf7383b2a9 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Fri, 4 Nov 2016 17:20:35 +1000 Subject: [PATCH] drm/nouveau/kms: prepare to support legacy connector set_property with atomic Signed-off-by: Ben Skeggs --- drivers/gpu/drm/nouveau/nouveau_connector.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.c b/drivers/gpu/drm/nouveau/nouveau_connector.c index 705c700fdeef..794b161c889c 100644 --- a/drivers/gpu/drm/nouveau/nouveau_connector.c +++ b/drivers/gpu/drm/nouveau/nouveau_connector.c @@ -768,6 +768,9 @@ nouveau_connector_set_property(struct drm_connector *connector, struct nouveau_crtc *nv_crtc = NULL; int ret; + if (connector->dev->mode_config.funcs->atomic_commit) + return drm_atomic_helper_connector_set_property(connector, property, value); + ret = connector->funcs->atomic_set_property(&nv_connector->base, &asyc->state, property, value); -- 2.20.1