diff options
author | Maarten Lankhorst <maarten.lankhorst@linux.intel.com> | 2016-04-26 10:11:42 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2016-05-02 10:37:14 -0400 |
commit | 2dacdd70a7f366e30d197b059bbfbf3d05efc831 (patch) | |
tree | d66a56eb6382d4a677ac991b4520f53668195697 /drivers/gpu/drm/tegra | |
parent | ab575184254c113fa1a8e8653619ec2f08747bbd (diff) |
drm/tegra: Rename async to nonblock.
The async name is deprecated and should be changed to nonblocking.
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: "Terje Bergström" <tbergstrom@nvidia.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1461679905-30177-10-git-send-email-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/tegra')
-rw-r--r-- | drivers/gpu/drm/tegra/drm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/tegra/drm.c b/drivers/gpu/drm/tegra/drm.c index 2be88eb0cb83..71a52f4e688b 100644 --- a/drivers/gpu/drm/tegra/drm.c +++ b/drivers/gpu/drm/tegra/drm.c | |||
@@ -74,7 +74,7 @@ static void tegra_atomic_work(struct work_struct *work) | |||
74 | } | 74 | } |
75 | 75 | ||
76 | static int tegra_atomic_commit(struct drm_device *drm, | 76 | static int tegra_atomic_commit(struct drm_device *drm, |
77 | struct drm_atomic_state *state, bool async) | 77 | struct drm_atomic_state *state, bool nonblock) |
78 | { | 78 | { |
79 | struct tegra_drm *tegra = drm->dev_private; | 79 | struct tegra_drm *tegra = drm->dev_private; |
80 | int err; | 80 | int err; |
@@ -83,7 +83,7 @@ static int tegra_atomic_commit(struct drm_device *drm, | |||
83 | if (err) | 83 | if (err) |
84 | return err; | 84 | return err; |
85 | 85 | ||
86 | /* serialize outstanding asynchronous commits */ | 86 | /* serialize outstanding nonblocking commits */ |
87 | mutex_lock(&tegra->commit.lock); | 87 | mutex_lock(&tegra->commit.lock); |
88 | flush_work(&tegra->commit.work); | 88 | flush_work(&tegra->commit.work); |
89 | 89 | ||
@@ -95,7 +95,7 @@ static int tegra_atomic_commit(struct drm_device *drm, | |||
95 | 95 | ||
96 | drm_atomic_helper_swap_state(drm, state); | 96 | drm_atomic_helper_swap_state(drm, state); |
97 | 97 | ||
98 | if (async) | 98 | if (nonblock) |
99 | tegra_atomic_schedule(tegra, state); | 99 | tegra_atomic_schedule(tegra, state); |
100 | else | 100 | else |
101 | tegra_atomic_complete(tegra, state); | 101 | tegra_atomic_complete(tegra, state); |