]> git.baikalelectronics.ru Git - kernel.git/commit
drm/nouveau: Convert nouveau to use new iterator macros, v2.
authorMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Wed, 19 Jul 2017 14:39:19 +0000 (16:39 +0200)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Tue, 1 Aug 2017 09:08:46 +0000 (11:08 +0200)
commit53969538de249013c13ed848217415c2d7bcc19e
treec704d2eca04905d8fb58551c607757b66c28015d
parentedff9f4d8b26fb16418acdc3ff7d8368a842bad2
drm/nouveau: Convert nouveau to use new iterator macros, v2.

Use the new atomic iterator macros, the old ones are about to be
removed. With the new macros, it's more easy to get old and new state so
get them from the macros instead of from obj->state.

Changes since v1:
- Don't mix up old and new state. (danvet)
- Rebase on top of interruptible swap_state changes.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Ben Skeggs <bskeggs@redhat.com>
Cc: nouveau@lists.freedesktop.org
Link: https://patchwork.freedesktop.org/patch/msgid/20170719143920.25685-7-maarten.lankhorst@linux.intel.com
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/nouveau/nv50_display.c