From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E857C1A6166; Tue, 30 Jul 2024 16:48:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722358111; cv=none; b=F+DP50269TcHCGHgvMp7ckcT6VD/OjDxsW3eHqYwiI1+OgXkOgvzGJYR3jmbTjhJmDLan3puCBRQP3nnkMu7LdIP9+/077enUoDLz8CXszRz3/DRiE5qf0x42+ndieSa6JaMQ/6oR/4BFxiHYj2/REQB+M1Fbw7kv2uG8q3XCmk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722358111; c=relaxed/simple; bh=InnZFp69UxQFuUtEgnPsZpPOwuNsZ7rCS8QB7fj4BDM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VA08qDsEFfa0lxL50xbyvX+A1OrTyRDRQyGMNIvtOGxCxyikIFt0GY5jVhy8E240e/shYwm/QprDKH6u5E/73GAvYaRCyLPjBLOSTjbzuCf6nxsfpFK+GUHlFIlS7u6HE1OCJGz0HZEz57r6uQRzZ0Q3Cuc6HljppFbCjTLjnk8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2Fau16Lu; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="2Fau16Lu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 089D4C4AF0A; Tue, 30 Jul 2024 16:48:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722358110; bh=InnZFp69UxQFuUtEgnPsZpPOwuNsZ7rCS8QB7fj4BDM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2Fau16LuEHtoGMaEIthFPjOmSfDlX4NFbUMcC2693D6vLr+USEOKvUBom9StLcY8s ndsUf93n/0Xk4JR8Qha7jXRPhaoYR1rwMxm7PpkfIbTT98mPZLztZXS9p8aP5ecYR3 4YXP3GIhHc+HZOeozXQoXMSzSjJGFux6NbWaX9ig= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, CK Hu , AngeloGioacchino Del Regno , Hsiao Chien Sung , Chun-Kuang Hu , Sasha Levin Subject: [PATCH 6.10 324/809] drm/mediatek: Add missing plane settings when async update Date: Tue, 30 Jul 2024 17:43:20 +0200 Message-ID: <20240730151737.402180958@linuxfoundation.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240730151724.637682316@linuxfoundation.org> References: <20240730151724.637682316@linuxfoundation.org> User-Agent: quilt/0.67 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.10-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hsiao Chien Sung [ Upstream commit 86b89dc669c400576dc23aa923bcf302f99e8e3a ] Fix an issue that plane coordinate was not saved when calling async update. Fixes: 920fffcc8912 ("drm/mediatek: update cursors by using async atomic update") Reviewed-by: CK Hu Reviewed-by: AngeloGioacchino Del Regno Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.") Signed-off-by: Hsiao Chien Sung Link: https://patchwork.kernel.org/project/dri-devel/patch/20240620-igt-v3-1-a9d62d2e2c7e@mediatek.com/ Signed-off-by: Chun-Kuang Hu Signed-off-by: Sasha Levin --- drivers/gpu/drm/mediatek/mtk_plane.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/mediatek/mtk_plane.c b/drivers/gpu/drm/mediatek/mtk_plane.c index 4625deb21d406..a74b26d359857 100644 --- a/drivers/gpu/drm/mediatek/mtk_plane.c +++ b/drivers/gpu/drm/mediatek/mtk_plane.c @@ -227,6 +227,8 @@ static void mtk_plane_atomic_async_update(struct drm_plane *plane, plane->state->src_y = new_state->src_y; plane->state->src_h = new_state->src_h; plane->state->src_w = new_state->src_w; + plane->state->dst.x1 = new_state->dst.x1; + plane->state->dst.y1 = new_state->dst.y1; mtk_plane_update_new_state(new_state, new_plane_state); swap(plane->state->fb, new_state->fb); -- 2.43.0