From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752449AbdFOX2g (ORCPT ); Thu, 15 Jun 2017 19:28:36 -0400 Received: from anholt.net ([50.246.234.109]:58254 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750830AbdFOX2f (ORCPT ); Thu, 15 Jun 2017 19:28:35 -0400 From: Eric Anholt To: dri-devel@lists.freedesktop.org, Gustavo Padovan Cc: linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, Eric Anholt Subject: [PATCH v2 6/6 squash] drm/vc4: Fixup for the drm core async changes. Date: Thu, 15 Jun 2017 16:28:32 -0700 Message-Id: <20170615232832.22435-1-eric@anholt.net> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170615023305.17410-7-gustavo@padovan.org> References: <20170615023305.17410-7-gustavo@padovan.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org With this squashed in, the vc4 patch is: Reviewed-by: Eric Anholt Signed-off-by: Eric Anholt --- 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