drm/i915/overlay: Use non-atomic mappings for the common case.
commit8d74f656dd78ae1ba813389cd46197c6329696bc
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Aug 2010 09:35:26 +0000 (12 10:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:42 +0000 (8 10:23 +0100)
tree26e2c355fd12faad167c6c76ff5ac1bcc09b6af9
parent31578148b2c62612f9516fdcf5ebb64ab32ed12d
drm/i915/overlay: Use non-atomic mappings for the common case.

The only time where an atomic mapping is required is during
error-capture and there we cannot use the default slot, but need to
specifically use one of the IRQ slots. So separate out the two
conditions and use the atomic mapping only when appropriate.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_overlay.c