Home Home > GIT Browse > SLE15-SP1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-07-19 14:35:07 +0200
committerTakashi Iwai <tiwai@suse.de>2019-07-19 14:35:07 +0200
commit2488809a946682a86b86fe94d93442ae39157715 (patch)
treecbdd370e97444145009dea3fc989beb957086f83
parentbac70db9a0d787cbe7a1e447562a27d5c5b95215 (diff)
drm/vc4: fix fb references in async update (bsc#1141312).
-rw-r--r--drivers/gpu/drm/vc4/vc4_plane.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_plane.c b/drivers/gpu/drm/vc4/vc4_plane.c
index 74d5893e8038..0b329fd066da 100644
--- a/drivers/gpu/drm/vc4/vc4_plane.c
+++ b/drivers/gpu/drm/vc4/vc4_plane.c
@@ -815,7 +815,7 @@ static void vc4_plane_atomic_async_update(struct drm_plane *plane,
if (plane->state->fb != state->fb) {
vc4_plane_async_set_fb(plane, state->fb);
- drm_atomic_set_fb_for_plane(plane->state, state->fb);
+ swap(plane->state->fb, state->fb);
}
/* Set the cursor's position on the screen. This is the