]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Simplify reset_counter handling during atomic modesetting
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Apr 2016 16:35:07 +0000 (17:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Apr 2016 09:45:40 +0000 (10:45 +0100)
commit614c5d9ee27d95074a451f41eb78f7b8d6fa03fb
treeccce54468a5ac113a41bae52bb2a94d79e057214
parente9151e0bf4b184bb269bcd10253581eabbe0bdd0
drm/i915: Simplify reset_counter handling during atomic modesetting

Now that the reset_counter is stored on the request, we can rearrange
the code to handle reading the counter versus waiting during the atomic
modesetting for readibility (by deleting the hairiest of codes).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/1460565315-7748-8-git-send-email-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_display.c