diff options
| author | Dave Gordon <[email protected]> | 2016-03-24 11:20:38 +0000 |
|---|---|---|
| committer | Tvrtko Ursulin <[email protected]> | 2016-03-24 14:34:11 +0000 |
| commit | b4ac5afc6b8398b15d061e909bbad153aae41f15 (patch) | |
| tree | 33a6d38b1344447000537933e91b0a02cfb2b213 /drivers/gpu/drm/omapdrm/omap_fbdev.c | |
| parent | drm/i915: introduce for_each_engine_id() (diff) | |
| download | kernel-b4ac5afc6b8398b15d061e909bbad153aae41f15.tar.gz kernel-b4ac5afc6b8398b15d061e909bbad153aae41f15.zip | |
drm/i915: replace for_each_engine()
Having provided for_each_engine_id() for cases where the third (id)
argument is useful, we can now replace all the remaining instances with
a simpler version that takes only two parameters. In many cases, this
also allows the elimination of the local variable used in the iterator
(usually 'i').
v2:
s/dev_priv/(dev_priv__)/ in body of for_each_engine_masked() [Chris Wilson]
Signed-off-by: Dave Gordon <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_fbdev.c')
0 files changed, 0 insertions, 0 deletions
