drm/i915: Combine pinning with setting to the display plane
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Apr 2011 08:41:17 +0000 (09:41 +0100)
committerKeith Packard <keithp@keithp.com>
Fri, 10 Jun 2011 04:51:19 +0000 (21:51 -0700)
commit2da3b9b940e2a18147422c54ed8b29d01e1ade88
treeafffe23550ffcc446e70559c4f75cd1f308cca33
parentc411964209508e32cf36f6512ed339996751f55f
drm/i915: Combine pinning with setting to the display plane

We need to perform a few operations in order to move the object into the
display plane (where it can be accessed coherently by the display
engine) that are important for future safety to forbid whilst pinned. As a
result, we want to need to perform some of the operations before pinning,
but some are required once we have been bound into the GTT. So combine
the pinning performed by all the callers with set_to_display_plane(), so
this complication is contained within the single function.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_overlay.c
This page took 0.024435 seconds and 5 git commands to generate.