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:
d68bc0e
)
drm/atomic: Add __must_check to drm_atomic_helper_swap_state.
author
Maarten Lankhorst
<
[email protected]
>
Tue, 11 Jul 2017 14:33:13 +0000
(16:33 +0200)
committer
Daniel Vetter
<
[email protected]
>
Wed, 26 Jul 2017 11:22:43 +0000
(13:22 +0200)
Now that all drivers check the return value, convert swap_state to
__must_check. This is done separately to force build warnings if we
missed a driver.
Signed-off-by: Maarten Lankhorst <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
Reviewed-by: Daniel Vetter <
[email protected]
>
Reviewed-by: Sean Paul <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
include/drm/drm_atomic_helper.h
patch
|
blob
|
history
diff --git
a/include/drm/drm_atomic_helper.h
b/include/drm/drm_atomic_helper.h
index 547480692470b6d43cbba01747bbd950573cdf3a..b464d4aeef82ea3c58f009c8eca35f4e012821c3 100644
(file)
--- a/
include/drm/drm_atomic_helper.h
+++ b/
include/drm/drm_atomic_helper.h
@@
-86,7
+86,8
@@
void
drm_atomic_helper_disable_planes_on_crtc(struct drm_crtc_state *old_crtc_state,
bool atomic);
-int drm_atomic_helper_swap_state(struct drm_atomic_state *state, bool stall);
+int __must_check drm_atomic_helper_swap_state(struct drm_atomic_state *state,
+ bool stall);
/* nonblocking commit helpers */
int drm_atomic_helper_setup_commit(struct drm_atomic_state *state,