@@ -1018,8 +1018,10 @@ disable_outputs(struct drm_device *dev, struct drm_atomic_state *old_state)
1018
1018
struct drm_encoder * encoder ;
1019
1019
struct drm_bridge * bridge ;
1020
1020
1021
- /* Shut down everything that's in the changeset and currently
1022
- * still on. So need to check the old, saved state. */
1021
+ /*
1022
+ * Shut down everything that's in the changeset and currently
1023
+ * still on. So need to check the old, saved state.
1024
+ */
1023
1025
if (!old_conn_state -> crtc )
1024
1026
continue ;
1025
1027
@@ -1409,7 +1411,7 @@ EXPORT_SYMBOL(drm_atomic_helper_commit_modeset_enables);
1409
1411
* @dev: DRM device
1410
1412
* @state: atomic state object with old state structures
1411
1413
* @pre_swap: If true, do an interruptible wait, and @state is the new state.
1412
- * Otherwise @state is the old state.
1414
+ * Otherwise @state is the old state.
1413
1415
*
1414
1416
* For implicit sync, driver should fish the exclusive fence out from the
1415
1417
* incoming fb's and stash it in the drm_plane_state. This is called after
@@ -1953,8 +1955,10 @@ static int stall_checks(struct drm_crtc *crtc, bool nonblock)
1953
1955
list_for_each_entry (commit , & crtc -> commit_list , commit_entry ) {
1954
1956
if (i == 0 ) {
1955
1957
completed = try_wait_for_completion (& commit -> flip_done );
1956
- /* Userspace is not allowed to get ahead of the previous
1957
- * commit with nonblocking ones. */
1958
+ /*
1959
+ * Userspace is not allowed to get ahead of the previous
1960
+ * commit with nonblocking ones.
1961
+ */
1958
1962
if (!completed && nonblock ) {
1959
1963
spin_unlock (& crtc -> commit_lock );
1960
1964
DRM_DEBUG_ATOMIC ("[CRTC:%d:%s] busy with a previous commit\n" ,
@@ -2103,9 +2107,11 @@ int drm_atomic_helper_setup_commit(struct drm_atomic_state *state,
2103
2107
if (ret )
2104
2108
return ret ;
2105
2109
2106
- /* Drivers only send out events when at least either current or
2110
+ /*
2111
+ * Drivers only send out events when at least either current or
2107
2112
* new CRTC state is active. Complete right away if everything
2108
- * stays off. */
2113
+ * stays off.
2114
+ */
2109
2115
if (!old_crtc_state -> active && !new_crtc_state -> active ) {
2110
2116
complete_all (& commit -> flip_done );
2111
2117
continue ;
@@ -2137,8 +2143,10 @@ int drm_atomic_helper_setup_commit(struct drm_atomic_state *state,
2137
2143
}
2138
2144
2139
2145
for_each_oldnew_connector_in_state (state , conn , old_conn_state , new_conn_state , i ) {
2140
- /* Userspace is not allowed to get ahead of the previous
2141
- * commit with nonblocking ones. */
2146
+ /*
2147
+ * Userspace is not allowed to get ahead of the previous
2148
+ * commit with nonblocking ones.
2149
+ */
2142
2150
if (nonblock && old_conn_state -> commit &&
2143
2151
!try_wait_for_completion (& old_conn_state -> commit -> flip_done )) {
2144
2152
DRM_DEBUG_ATOMIC ("[CONNECTOR:%d:%s] busy with a previous commit\n" ,
@@ -2156,8 +2164,10 @@ int drm_atomic_helper_setup_commit(struct drm_atomic_state *state,
2156
2164
}
2157
2165
2158
2166
for_each_oldnew_plane_in_state (state , plane , old_plane_state , new_plane_state , i ) {
2159
- /* Userspace is not allowed to get ahead of the previous
2160
- * commit with nonblocking ones. */
2167
+ /*
2168
+ * Userspace is not allowed to get ahead of the previous
2169
+ * commit with nonblocking ones.
2170
+ */
2161
2171
if (nonblock && old_plane_state -> commit &&
2162
2172
!try_wait_for_completion (& old_plane_state -> commit -> flip_done )) {
2163
2173
DRM_DEBUG_ATOMIC ("[PLANE:%d:%s] busy with a previous commit\n" ,
0 commit comments