projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b2b75ee
)
drm/nouveau/kms: prepare to support legacy connector set_property with atomic
author
Ben Skeggs
<bskeggs@redhat.com>
Fri, 4 Nov 2016 07:20:35 +0000
(17:20 +1000)
committer
Ben Skeggs
<bskeggs@redhat.com>
Mon, 7 Nov 2016 04:04:48 +0000
(14:04 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_connector.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_connector.c
b/drivers/gpu/drm/nouveau/nouveau_connector.c
index 705c700fdeefb2ecce6396e9c28c283cb9861b72..794b161c889c38d1ea34bd332bf458d920d035f1 100644
(file)
--- 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);