From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-172.mta0.migadu.com (out-172.mta0.migadu.com [91.218.175.172]) (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 ABD91433D6 for ; Sun, 22 Sep 2024 10:33:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727001200; cv=none; b=kdPoRsChzZUCnwp+7R3dcANakbfQONbzgd1leHMk91SQYSs3iMcY5WbLesm90Qzl2qAJOGOaR0b7dsKjKn//HqBVr14eUlCA15HRZc+lF+SfsuJbZfEUhiLsQ3zE2Ra+kOgbQOA9td+H43a9kkqVj6akUy4PBUhvD55WFk+fa44= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1727001200; c=relaxed/simple; bh=/Q1V5qjwd/t0sqYmppQNCSsxC2bsWSxzR/kG8t+yFlM=; h=Mime-Version:Content-Type:Date:Message-Id:To:Cc:Subject:From: References:In-Reply-To; b=slMoyWz+Cp+V1wToA9lQqjJCGTH5rrG7O5PbBEBFBhBNlabgiozwxM/3FSTvOMkw6fls5T/p4dwXw4FUtI5I3ooeEc2OlNQnQNKXDRZkZUSd4t1FQH6BeiTTx1J/uvbje4Qg1B9ASD4+e4b8pywVDKvJgHTPpYFOOOW2VMejMg8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org; spf=pass smtp.mailfrom=cknow.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b=KhKdHH4O; arc=none smtp.client-ip=91.218.175.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=cknow.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cknow.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cknow.org header.i=@cknow.org header.b="KhKdHH4O" Precedence: bulk X-Mailing-List: devicetree@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cknow.org; s=key1; t=1727001195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rh5mxOysEWdlr7zB3dIq9Xe2btAHsCpup+ruaFZk4EM=; b=KhKdHH4ObK+KAa3ylcl/wZq36CKLW9XGQbMTs3L/PVLTKtzN6mah6aJfCG38zpVnZ9+WWU FN9Yu0Uj7sgJ7XXprTjbI6UVwNg5ynCR49Xon30JpoX3Pxd/H16jLNAZjzSA9ERIyqS5Qr CledCoNU9+F591nNaaPK/hIx5LBdCDNLDxO/HLUEkmD4RTm6EOdcNuxs9Y2atEyUD1lIWx BsooqPkyy/7oHJbcCdkfIJ4YWK+wlfinkjt7sOSXt22w1uRBqecWy0Mt9YeQHONeYEtB95 OGSa+w1znwU/9ks2KwjbP9CZgwfMUwuASQshHjGt3NgnA2w1dMNLr63HdNHLDQ== Content-Type: multipart/signed; boundary=cf4d01d20a3b9d5a9a49968868fe9e6d1f0f8308e15edb5bdb79c6fb1446; micalg=pgp-sha256; protocol="application/pgp-signature" Date: Sun, 22 Sep 2024 12:33:05 +0200 Message-Id: To: "Andy Yan" , Cc: , , , , , , , , , , , , , "Andy Yan" Subject: Re: [PATCH v3 06/15] drm/rockchip: vop2: include rockchip_drm_drv.h X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: "Diederik de Haas" References: <20240920081626.6433-1-andyshrk@163.com> <20240920082122.6742-1-andyshrk@163.com> In-Reply-To: <20240920082122.6742-1-andyshrk@163.com> X-Migadu-Flow: FLOW_OUT --cf4d01d20a3b9d5a9a49968868fe9e6d1f0f8308e15edb5bdb79c6fb1446 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Fri Sep 20, 2024 at 10:21 AM CEST, Andy Yan wrote: > From: Andy Yan Maybe ``From: Min-Hua Chen ``? It's very minor and Min-Hua gave their 'Reviewed-by' tag to your patch, but they found the problem and I thought it was just for practical reasons you made it part of this patch set. > Move rockchip_drm_drv.h in rockchip_drm_vop2.h to fix the follow > sparse warning: > > ARCH=3Darm64 LLVM=3D1 make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDI= AN__' > 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: Andy Yan > Signed-off-by: Min-Hua Chen > > --- > > Changes in v3: > - Split it from 10/15, as it fix a exiting compile warning. > > 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/d= rm/rockchip/rockchip_drm_vop2.c > index 4776a227e62c..a7f9f88869a6 100644 > --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c > +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.c > @@ -35,7 +35,6 @@ > #include > #include > =20 > -#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/d= rm/rockchip/rockchip_drm_vop2.h > index 59cd6b933bfb..bc001f715847 100644 > --- a/drivers/gpu/drm/rockchip/rockchip_drm_vop2.h > +++ b/drivers/gpu/drm/rockchip/rockchip_drm_vop2.h > @@ -9,6 +9,7 @@ > =20 > #include > #include > +#include "rockchip_drm_drv.h" > #include "rockchip_drm_vop.h" > =20 > #define VOP2_VP_FEATURE_OUTPUT_10BIT BIT(0) --cf4d01d20a3b9d5a9a49968868fe9e6d1f0f8308e15edb5bdb79c6fb1446 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZu/yZAAKCRDXblvOeH7b bhyOAQCgfugbYkLTEQoVYnYjY2LIP0tmj3SFSFrsw3hSRtqOHwD/cMGxEu1QU1Nj DLQj4kuQxg314p3e5CtjLIAFUNlzLQI= =a3i5 -----END PGP SIGNATURE----- --cf4d01d20a3b9d5a9a49968868fe9e6d1f0f8308e15edb5bdb79c6fb1446--