All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/atomic: Add missing drm_atomic_state_clear to atomic_remove_fb
@ 2017-06-29 11:59 Maarten Lankhorst
  2017-06-29 12:19 ` ✗ Fi.CI.BAT: failure for " Patchwork
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Maarten Lankhorst @ 2017-06-29 11:59 UTC (permalink / raw)
  To: dri-devel; +Cc: intel-gfx

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
---
 drivers/gpu/drm/drm_framebuffer.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/gpu/drm/drm_framebuffer.c b/drivers/gpu/drm/drm_framebuffer.c
index fc8ef42203ec..b3ef4f1c2630 100644
--- a/drivers/gpu/drm/drm_framebuffer.c
+++ b/drivers/gpu/drm/drm_framebuffer.c
@@ -832,6 +832,7 @@ static int atomic_remove_fb(struct drm_framebuffer *fb)
 		drm_atomic_clean_old_fb(dev, plane_mask, ret);
 
 	if (ret == -EDEADLK) {
+		drm_atomic_state_clear(state);
 		drm_modeset_backoff(&ctx);
 		goto retry;
 	}
-- 
2.11.0

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-07-03  8:40 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29 11:59 [PATCH] drm/atomic: Add missing drm_atomic_state_clear to atomic_remove_fb Maarten Lankhorst
2017-06-29 12:19 ` ✗ Fi.CI.BAT: failure for " Patchwork
2017-06-29 13:57 ` [PATCH] " Ville Syrjälä
2017-06-29 14:17   ` Ville Syrjälä
2017-06-30 12:43     ` [Intel-gfx] " Daniel Vetter
2017-06-30 12:46 ` Daniel Vetter
2017-07-03  8:40   ` [Intel-gfx] " Maarten Lankhorst

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.