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:
6fc17fb
)
drm/rcar-du: Rename async to nonblock.
author
Maarten Lankhorst
<
[email protected]
>
Tue, 26 Apr 2016 14:11:40 +0000
(16:11 +0200)
committer
Daniel Vetter
<
[email protected]
>
Mon, 2 May 2016 14:36:41 +0000
(16:36 +0200)
The async name is deprecated and should be changed to nonblocking.
Cc: Laurent Pinchart <
[email protected]
>
Signed-off-by: Maarten Lankhorst <
[email protected]
>
Acked-by: Laurent Pinchart <
[email protected]
>
Signed-off-by: Daniel Vetter <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/1461679905-30177-8-git-send-email-maarten.lankhorst@linux.intel.com
drivers/gpu/drm/rcar-du/rcar_du_kms.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/rcar-du/rcar_du_kms.c
b/drivers/gpu/drm/rcar-du/rcar_du_kms.c
index 24725bf859b4b4b29b47b8f9c329c7e0dbf395c5..e70a4f33d970883f2dae665dd4d82ab233f26074 100644
(file)
--- a/
drivers/gpu/drm/rcar-du/rcar_du_kms.c
+++ b/
drivers/gpu/drm/rcar-du/rcar_du_kms.c
@@
-283,7
+283,8
@@
static void rcar_du_atomic_work(struct work_struct *work)
}
static int rcar_du_atomic_commit(struct drm_device *dev,
- struct drm_atomic_state *state, bool async)
+ struct drm_atomic_state *state,
+ bool nonblock)
{
struct rcar_du_device *rcdu = dev->dev_private;
struct rcar_du_commit *commit;
@@
-328,7
+329,7
@@
static int rcar_du_atomic_commit(struct drm_device *dev,
/* Swap the state, this is the point of no return. */
drm_atomic_helper_swap_state(dev, state);
- if (
async
)
+ if (
nonblock
)
schedule_work(&commit->work);
else
rcar_du_atomic_complete(commit);