mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-07 07:05:20 +00:00
drm/i915: Wait for the bo if a display flip is pipelined on the other ring
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
parent
0ac74c6b33
commit
0be732841f
1 changed files with 1 additions and 1 deletions
|
@ -2926,7 +2926,7 @@ i915_gem_object_set_to_display_plane(struct drm_i915_gem_object *obj,
|
||||||
i915_gem_object_flush_gpu_write_domain(obj);
|
i915_gem_object_flush_gpu_write_domain(obj);
|
||||||
|
|
||||||
/* Currently, we are always called from an non-interruptible context. */
|
/* Currently, we are always called from an non-interruptible context. */
|
||||||
if (!pipelined) {
|
if (pipelined != obj->ring) {
|
||||||
ret = i915_gem_object_wait_rendering(obj, false);
|
ret = i915_gem_object_wait_rendering(obj, false);
|
||||||
if (ret)
|
if (ret)
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Add table
Reference in a new issue