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 2A3DEF510; Wed, 5 Feb 2025 14:07:51 +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=1738764471; cv=none; b=faq0q89yiWWswNebY9oeBUi0CcOneGjH9GIj63DXjFqcIm7stcOa+GyGarh3xhcxPHEd1FztNAvzR04cmBB4xR84xgxIHXnD5Y43uIiqMO8oNo4NSzVcC6k0T8VyCL1Dize6ZazNP22HjkX7/UcbP2lLKn6JZUp2HAXbP7XgN/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738764471; c=relaxed/simple; bh=F2PRUFoMfo3iNp+gR1X2kwLmQ3qPAHKqxBdKp0aCczQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Gtv5I7DjpsgAQPfD3XWD54ToYIrwnXGVqNhMUi9QODrn0mm5B7CsC7OR2U3kMsn+eIM0mTsPfF3nMGFaQ5syvdH+H0Xb4a1EYt2rWPLlZxY218dqVTD/+Mwf5l89qBe2jaCn2ze4Up0BNvVCw1WisEwAqwiuFRYE2u9THhQVYGY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=H/Ux9tHz; 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="H/Ux9tHz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8BEACC4CED1; Wed, 5 Feb 2025 14:07:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1738764471; bh=F2PRUFoMfo3iNp+gR1X2kwLmQ3qPAHKqxBdKp0aCczQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H/Ux9tHzJnI2oeCqJUv3aT4sFodcAT/P+CodgBV8xSIhwIthjp9wO6B79N1IlqwaI wpuVimBuucHGQbJzcGjL8SFP/8DeN1SGhis2LiUABcSQL1mvd/biVTF2D8Rg8A4u7+ iSFsEz5ihF/pQ6wIb3J6vBm3HpV9Ptf4zUZ5E+KE= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Min-Hua Chen , Andy Yan , Detlev Casanova , Heiko Stuebner , Sasha Levin , Michael Riesch Subject: [PATCH 6.13 062/623] drm/rockchip: vop2: include rockchip_drm_drv.h Date: Wed, 5 Feb 2025 14:36:44 +0100 Message-ID: <20250205134458.597720511@linuxfoundation.org> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250205134456.221272033@linuxfoundation.org> References: <20250205134456.221272033@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Min-Hua Chen [ Upstream commit 77b1ccb2a27c7b3b118a03bf1730def92070d31b ] Move rockchip_drm_drv.h in rockchip_drm_vop2.h to fix the follow sparse warning: ARCH=arm64 LLVM=1 make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' mrproper defconfig all -j12 drivers/gpu/drm/rockchip/rockchip_vop2_reg.c:502:24: sparse: warning: symbol 'vop2_platform_driver' was not declared. Should it be static? It is also beneficial for the upcoming support for rk3576. Fixes: 604be85547ce ("drm/rockchip: Add VOP2 driver") Signed-off-by: Min-Hua Chen Signed-off-by: Andy Yan Reviewed-by: Min-Hua Chen Tested-by: Detlev Casanova Tested-by: Michael Riesch # on RK3568 Signed-off-by: Heiko Stuebner Link: https://patchwork.freedesktop.org/patch/msgid/20241214081719.3330518-8-andyshrk@163.com Signed-off-by: Sasha Levin --- drivers/gpu/drm/rockchip/rockchip_drm_vop2.c | 1 - drivers/gpu/drm/rockchip/rockchip_drm_vop2.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c index 6082b1c179aeb..5880d87fe6b3a 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c @@ -33,7 +33,6 @@ #include #include -#include "rockchip_drm_drv.h" #include "rockchip_drm_gem.h" #include "rockchip_drm_vop2.h" #include "rockchip_rgb.h" diff --git a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.h b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.h index 1c4204324f9f5..130aaa40316d1 100644 --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.h +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.h @@ -9,6 +9,7 @@ #include #include +#include "rockchip_drm_drv.h" #include "rockchip_drm_vop.h" #define VOP2_VP_FEATURE_OUTPUT_10BIT BIT(0) -- 2.39.5