i915: wait for fence in prepare_plane_fb
authorAlex Goins <agoins@nvidia.com>
Thu, 26 Nov 2015 02:43:39 +0000 (18:43 -0800)
committerMaarten Lankhorst <maarten.lankhorst@linux.intel.com>
Thu, 3 Dec 2015 15:10:11 +0000 (16:10 +0100)
commit3c28ff22f6e20cc946cb5a2b77d14862999f7ba0
treebe3cc1ef0f818d20f2aca919504774d72528e7dd
parentfd8e058a27f319d4560529d54bcbf8aec2d72017
i915: wait for fence in prepare_plane_fb

In intel_prepare_plane_fb, if fb is backed by dma-buf, wait for exclusive
fence

v2: First commit
v3: Remove object_name_lock acquire
    Move wait from intel_atomic_commit() to intel_prepare_plane_fb()
v4: Wait only on exclusive fences, interruptible with no timeout
v5: Style tweaks to more closely match rest of file
v6: Properly handle interrupted waits
v7: No change
v8: No change

Link: https://patchwork.kernel.org/patch/7704181/
Signed-off-by: Alex Goins <agoins@nvidia.com>
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
drivers/gpu/drm/i915/intel_display.c