diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-01-31 10:21:31 +0100 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-02-01 11:45:21 +0200 |
commit | e8fe4f4b2b7b93048729538321c681c0cff33b39 (patch) | |
tree | 854dcbf325cda8209a59110f992407e362510e93 /include/dt-bindings/reset/oxsemi,ox810se.h | |
parent | eeee74a4f6625b77c3e8db0693c2d4546507ba0d (diff) |
drm/i915: Track pinned vma in intel_plane_state
With atomic plane states we are able to track an allocation right from
preparation, during use and through to the final free after being
swapped out for a new plane. We can couple the VMA we pin for the
framebuffer (and its rotation) to this lifetime and avoid all the clumsy
lookups in between.
v2: Remove residual vma on plane cleanup (Chris)
v3: Add a description for the vma destruction in
intel_plane_destroy_state (Maarten)
References: https://bugs.freedesktop.org/show_bug.cgi?id=98829
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170116152131.18089-1-chris@chris-wilson.co.uk
Acked-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
(cherry picked from commit be1e341513ca23b0668b7b0f26fa6e2ffc46ba20)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1485854491-27389-3-git-send-email-maarten.lankhorst@linux.intel.com
Diffstat (limited to 'include/dt-bindings/reset/oxsemi,ox810se.h')
0 files changed, 0 insertions, 0 deletions