]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use fb modifiers in intel_check_cursor_plane
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Tue, 10 Feb 2015 17:16:14 +0000 (17:16 +0000)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 22:28:20 +0000 (23:28 +0100)
commitf3ce28270064e012366f6c758080f7964d3589e8
tree36e6f23a44cc2e631ef7ee55fc0898929bbc5ffd
parent655132566e25b1ffa668f8302fa0c5ce2d558589
drm/i915: Use fb modifiers in intel_check_cursor_plane

Also drop the mutex since with universal planes there is always a
proper framebuffer around which wraps the underlying bo. Which means
tiling is locked down. This was different in the old code which
directly took gem handles. The looking though was always cargo-cult
since races where not prevented in any way.

v2: Unconditionally enforce untiled, because cursors are always
untiled. The check for physical or gtt cursor is irrelevant. Also
clarify the commit message a bit

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com> (v1)
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c