forked from Minki/linux
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:
parent
b2b75eea57
commit
d6455379a9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user