projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c3eb12
)
drm/atomic: Use the new helpers in drm_atomic_helper_disable_all()
author
Maarten Lankhorst
<
[email protected]
>
Wed, 12 Jul 2017 08:13:31 +0000
(10:13 +0200)
committer
Maarten Lankhorst
<
[email protected]
>
Thu, 13 Jul 2017 07:44:59 +0000
(09:44 +0200)
for_each_obj_in_state will be removed, so don't use it here.
Signed-off-by: Maarten Lankhorst <
[email protected]
>
Cc: Daniel Vetter <
[email protected]
>
Cc: Jani Nikula <
[email protected]
>
Cc: Sean Paul <
[email protected]
>
Cc: David Airlie <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
Reviewed-by: Daniel Vetter <
[email protected]
>
drivers/gpu/drm/drm_atomic_helper.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/drm_atomic_helper.c
b/drivers/gpu/drm/drm_atomic_helper.c
index 667ec97d4efb99651651b3b53d6835f2f68f04bd..391cd887f922df9124cf0f1f84070dcd53a9a121 100644
(file)
--- a/
drivers/gpu/drm/drm_atomic_helper.c
+++ b/
drivers/gpu/drm/drm_atomic_helper.c
@@
-2715,13
+2715,13
@@
int drm_atomic_helper_disable_all(struct drm_device *dev,
goto free;
}
- for_each_connector_in_state(state, conn, conn_state, i) {
+ for_each_
new_
connector_in_state(state, conn, conn_state, i) {
ret = drm_atomic_set_crtc_for_connector(conn_state, NULL);
if (ret < 0)
goto free;
}
- for_each_plane_in_state(state, plane, plane_state, i) {
+ for_each_
new_
plane_in_state(state, plane, plane_state, i) {
ret = drm_atomic_set_crtc_for_plane(plane_state, NULL);
if (ret < 0)
goto free;