diff options
| -rw-r--r-- | drivers/gpu/drm/drm_atomic_helper.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/drm_atomic_helper.c b/drivers/gpu/drm/drm_atomic_helper.c index c4752bd7d999..0ed249d74526 100644 --- a/drivers/gpu/drm/drm_atomic_helper.c +++ b/drivers/gpu/drm/drm_atomic_helper.c @@ -2037,7 +2037,7 @@ void drm_atomic_helper_commit_tail_rpm(struct drm_atomic_commit *state) } EXPORT_SYMBOL(drm_atomic_helper_commit_tail_rpm); -static void commit_tail(struct drm_atomic_commit *state) +static void commit_tail(struct drm_atomic_commit *state, bool nonblock) { struct drm_device *dev = state->dev; const struct drm_mode_config_helper_funcs *funcs; @@ -2095,7 +2095,7 @@ static void commit_work(struct work_struct *work) struct drm_atomic_commit *state = container_of(work, struct drm_atomic_commit, commit_work); - commit_tail(state); + commit_tail(state, true); } /** @@ -2315,7 +2315,7 @@ int drm_atomic_helper_commit(struct drm_device *dev, if (nonblock) queue_work(system_dfl_wq, &state->commit_work); else - commit_tail(state); + commit_tail(state, false); return 0; |
