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

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
This commit is contained in:
Ben Skeggs 2016-11-04 17:20:35 +10:00
parent b2b75eea57
commit d6455379a9

View File

@ -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);