From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 03BB7C41513 for ; Sat, 12 Aug 2023 22:34:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229873AbjHLW2a (ORCPT ); Sat, 12 Aug 2023 18:28:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229589AbjHLW23 (ORCPT ); Sat, 12 Aug 2023 18:28:29 -0400 Received: from gloria.sntech.de (gloria.sntech.de [185.11.138.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8F2881984 for ; Sat, 12 Aug 2023 15:28:30 -0700 (PDT) Received: from i53875bbf.versanet.de ([83.135.91.191] helo=phil.lan) by gloria.sntech.de with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qUx5r-0002QJ-4H; Sun, 13 Aug 2023 00:28:23 +0200 From: Heiko Stuebner To: Jonas Karlman , David Airlie , Daniel Vetter , Sandy Huang Cc: Heiko Stuebner , linux-rockchip@lists.infradead.org, Sascha Hauer , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, Andy Yan , Maarten Lankhorst , Mark Yao , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 0/5] drm/rockchip: Fix crtc duplicate state and crtc reset funcs Date: Sun, 13 Aug 2023 00:28:21 +0200 Message-Id: <169187928908.3734147.12874056475289998677.b4-ty@sntech.de> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230621223311.2239547-1-jonas@kwiboo.se> References: <20230621223311.2239547-1-jonas@kwiboo.se> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Jun 2023 22:33:15 +0000 (UTC), Jonas Karlman wrote: > This series fixes a reset of state in duplicate state crtc funcs for VOP > driver, a possible crash and ensure crtc reset helper is called in VOP2 > driver. > > Patch 1 use kmemdup instead of kzalloc to duplicate the crtc state. > Patch 2 change to use crtc and plane cleanup helpers directly. > Patch 3 adds a null guard for allocation failure. > Patch 4 adds a crash guard for empty crtc state. > Patch 5 adds a missing call to crtc reset helper. > > [...] Applied, thanks! [1/5] drm/rockchip: vop: Fix reset of state in duplicate state crtc funcs commit: 13fc28804bf10ca0b7bce3efbba95c534836d7ca [2/5] drm/rockchip: vop: Use cleanup helper directly as destroy funcs commit: 800f7c332df7cd9614c416fd005a6bb53f96f13c [3/5] drm/rockchip: vop: Fix call to crtc reset helper commit: 5aacd290837828c089a83ac9795c74c4c9e2c923 [4/5] drm/rockchip: vop2: Don't crash for invalid duplicate_state commit: 342f7e4967d02b0ec263b15916304fc54841b608 [5/5] drm/rockchip: vop2: Add missing call to crtc reset helper commit: 4d49d87b3606369c6e29b9d051892ee1a6fc4e75 Best regards, -- Heiko Stuebner