* [PATCH v2 6/6 squash] drm/vc4: Fixup for the drm core async changes.
[not found] <20170615023305.17410-7-gustavo@padovan.org>
@ 2017-06-15 23:28 ` Eric Anholt
0 siblings, 0 replies; only message in thread
From: Eric Anholt @ 2017-06-15 23:28 UTC (permalink / raw)
To: dri-devel, Gustavo Padovan; +Cc: linux-kernel, intel-gfx, Eric Anholt
With this squashed in, the vc4 patch is:
Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Eric Anholt <eric@anholt.net>
---
Without this, the cursor never moved :)
drivers/gpu/drm/vc4/vc4_plane.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/vc4/vc4_plane.c b/drivers/gpu/drm/vc4/vc4_plane.c
index aac3a31a9260..59f7ab6b1831 100644
--- a/drivers/gpu/drm/vc4/vc4_plane.c
+++ b/drivers/gpu/drm/vc4/vc4_plane.c
@@ -792,6 +792,9 @@ static void vc4_plane_atomic_async_update(struct drm_plane *plane,
if (plane->state->fb != new_state->fb)
vc4_plane_async_set_fb(plane, new_state->fb);
+ /* Update the display list based on the new crtc_x/y. */
+ vc4_plane_atomic_check(plane, plane->state);
+
/* Note that we can't just call vc4_plane_write_dlist()
* because that would smash the context data that the HVS is
* currently using.
--
2.11.0
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-15 23:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20170615023305.17410-7-gustavo@padovan.org>
2017-06-15 23:28 ` [PATCH v2 6/6 squash] drm/vc4: Fixup for the drm core async changes Eric Anholt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®