Commit 1b3f09d8 authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Daniel Vetter

drm/exynos: Rename async to nonblock.

The async name is deprecated and should be changed to nonblocking.

Cc: Inki Dae <inki.dae@samsung.com>
Signed-off-by: default avatarMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1461679905-30177-5-git-send-email-maarten.lankhorst@linux.intel.com
parent 51b6beff
...@@ -270,7 +270,7 @@ static int commit_is_pending(struct exynos_drm_private *priv, u32 crtcs) ...@@ -270,7 +270,7 @@ static int commit_is_pending(struct exynos_drm_private *priv, u32 crtcs)
} }
int exynos_atomic_commit(struct drm_device *dev, struct drm_atomic_state *state, int exynos_atomic_commit(struct drm_device *dev, struct drm_atomic_state *state,
bool async) bool nonblock)
{ {
struct exynos_drm_private *priv = dev->dev_private; struct exynos_drm_private *priv = dev->dev_private;
struct exynos_atomic_commit *commit; struct exynos_atomic_commit *commit;
...@@ -308,7 +308,7 @@ int exynos_atomic_commit(struct drm_device *dev, struct drm_atomic_state *state, ...@@ -308,7 +308,7 @@ int exynos_atomic_commit(struct drm_device *dev, struct drm_atomic_state *state,
drm_atomic_helper_swap_state(dev, state); drm_atomic_helper_swap_state(dev, state);
if (async) if (nonblock)
schedule_work(&commit->work); schedule_work(&commit->work);
else else
exynos_atomic_commit_complete(commit); exynos_atomic_commit_complete(commit);
......
...@@ -296,7 +296,7 @@ static inline int exynos_dpi_bind(struct drm_device *dev, ...@@ -296,7 +296,7 @@ static inline int exynos_dpi_bind(struct drm_device *dev,
#endif #endif
int exynos_atomic_commit(struct drm_device *dev, struct drm_atomic_state *state, int exynos_atomic_commit(struct drm_device *dev, struct drm_atomic_state *state,
bool async); bool nonblock);
extern struct platform_driver fimd_driver; extern struct platform_driver fimd_driver;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment