Commit d6455379 authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nouveau/kms: prepare to support legacy connector set_property with atomic

Signed-off-by: default avatarBen Skeggs <>
parent b2b75eea
...@@ -768,6 +768,9 @@ nouveau_connector_set_property(struct drm_connector *connector, ...@@ -768,6 +768,9 @@ nouveau_connector_set_property(struct drm_connector *connector,
struct nouveau_crtc *nv_crtc = NULL; struct nouveau_crtc *nv_crtc = NULL;
int ret; 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, ret = connector->funcs->atomic_set_property(&nv_connector->base,
&asyc->state, &asyc->state,
property, value); property, value);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment