]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/overlay: Use non-atomic mappings for the common case.
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 12 Aug 2010 09:35:26 +0000 (10:35 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 8 Sep 2010 09:23:42 +0000 (10:23 +0100)
commitf539d365735e6888fb651fd6f38732a2743c5431
tree26e2c355fd12faad167c6c76ff5ac1bcc09b6af9
parent01e2e06405d06283a8e6e4619202daac1f5e2570
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