Unverified Commit 537842fb authored by openeuler-ci-bot's avatar openeuler-ci-bot Committed by Gitee
Browse files

!5197 drm: Don't unref the same fb many times by mistake due to deadlock handling

parents 9e82708a 10057292
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1213,6 +1213,7 @@ int drm_mode_page_flip_ioctl(struct drm_device *dev,
out:
	if (fb)
		drm_framebuffer_put(fb);
	fb = NULL;
	if (plane->old_fb)
		drm_framebuffer_put(plane->old_fb);
	plane->old_fb = NULL;