From patchwork Sat Jan 21 20:08:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Ravnborg via B4 Relay X-Patchwork-Id: 13111251 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 gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CAD32C54E94 for ; Sat, 21 Jan 2023 20:08:31 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 26B6C10E3DF; Sat, 21 Jan 2023 20:08:10 +0000 (UTC) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by gabe.freedesktop.org (Postfix) with ESMTPS id 418C310E405 for ; Sat, 21 Jan 2023 20:07:54 +0000 (UTC) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 203AB60BBA; Sat, 21 Jan 2023 20:07:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id E80C4C433A0; Sat, 21 Jan 2023 20:07:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674331673; bh=QLE4N+GC+9oscKSct/xY7amkc89l0do+WyrCyxk20dc=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=Ddw3Lp2OFabIBbMSOKx3Fe+v/sJ/yaK7O8UpcCQ1+3lCvLYlzg5zYVT63pYDfBnXs wqHc7dzbUSiNweC2f5x5MSbHJjXL4hoQStFKfpmtcG5TzyOykJh6pNm1qHzsd5gaZJ bwkFaiXeOINHor5A++1WHIIUtipgtpNvpPO5XMPXZ/jxY4iEc67kLBifk7+UGVTKX1 24/Xb9baxHojvbiIUL5EV4yQInh+KgaOyi64buxw6UtcDNCAFZGS0NeDxhtfQn5pR7 R/x77Ca/E0E/e1Y/TbXbpqbKSkYxATjww+T73bQhkx24EHvOiGoJTs9wI2eCH6UEPw VeIntsBtRa3Dw== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAFF7C38142; Sat, 21 Jan 2023 20:07:53 +0000 (UTC) From: Sam Ravnborg via B4 Submission Endpoint Date: Sat, 21 Jan 2023 21:08:57 +0100 Subject: [PATCH 79/86] drm/vc4: Direct include headers from drm_atomic_helper MIME-Version: 1.0 Message-Id: <20230113-drm-include-v1-v1-79-c5cf72d8a5a2@ravnborg.org> References: <20230113-drm-include-v1-v1-0-c5cf72d8a5a2@ravnborg.org> In-Reply-To: <20230113-drm-include-v1-v1-0-c5cf72d8a5a2@ravnborg.org> To: dri-devel@lists.freedesktop.org X-Mailer: b4 0.12.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1674331667; l=4914; i=sam@ravnborg.org; s=20230107; h=from:subject:message-id; bh=XH8eGk7lxq1aL1uljefXhGuYSZF9w0zVP09UKOmkh80=; =?utf-8?q?b=3Db6VrRN/PXEUI?= =?utf-8?q?hzbanKy/IbBaudwVt60K6mJthYr13TvPxUBiD0BCGT7DhEkOtZ/B8929wuwSqKL5?= 5lViQBE7DdyEsGbGJwMmhU+iUguplDWOj0yazE28YfSIrf4ewGSL X-Developer-Key: i=sam@ravnborg.org; a=ed25519; pk=R0+pqV7BRYOAeOIGkyOrSNke7arx5y3LkEuNi37YEyU= X-Endpoint-Received: by B4 Submission Endpoint for sam@ravnborg.org/20230107 with auth_id=22 X-Original-From: Sam Ravnborg X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sam@ravnborg.org Cc: Sam Ravnborg Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" From: Sam Ravnborg Direct include the headers that otherwise comes indirect from drm_atomic_helper, because drm_atomic_helper will be reduced to include only the minimal set of headers. Signed-off-by: Sam Ravnborg --- drivers/gpu/drm/vc4/vc4_crtc.c | 2 ++ drivers/gpu/drm/vc4/vc4_dpi.c | 1 + drivers/gpu/drm/vc4/vc4_dsi.c | 1 + drivers/gpu/drm/vc4/vc4_hdmi.c | 2 ++ drivers/gpu/drm/vc4/vc4_kms.c | 2 ++ drivers/gpu/drm/vc4/vc4_plane.c | 2 ++ drivers/gpu/drm/vc4/vc4_txp.c | 2 ++ drivers/gpu/drm/vc4/vc4_vec.c | 2 ++ 8 files changed, 14 insertions(+) diff --git a/drivers/gpu/drm/vc4/vc4_crtc.c b/drivers/gpu/drm/vc4/vc4_crtc.c index cdc0559221f0..251c6f76e19e 100644 --- a/drivers/gpu/drm/vc4/vc4_crtc.c +++ b/drivers/gpu/drm/vc4/vc4_crtc.c @@ -36,10 +36,12 @@ #include #include +#include #include #include #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/vc4/vc4_dpi.c b/drivers/gpu/drm/vc4/vc4_dpi.c index f518d6e59ed6..938a22723c53 100644 --- a/drivers/gpu/drm/vc4/vc4_dpi.c +++ b/drivers/gpu/drm/vc4/vc4_dpi.c @@ -15,6 +15,7 @@ #include #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/vc4/vc4_dsi.c b/drivers/gpu/drm/vc4/vc4_dsi.c index a5c075f802e4..71a7b6c7f94e 100644 --- a/drivers/gpu/drm/vc4/vc4_dsi.c +++ b/drivers/gpu/drm/vc4/vc4_dsi.c @@ -30,6 +30,7 @@ #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index 14628864487a..8de4cd05af62 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -34,7 +34,9 @@ #include #include #include +#include #include +#include #include #include #include diff --git a/drivers/gpu/drm/vc4/vc4_kms.c b/drivers/gpu/drm/vc4/vc4_kms.c index a7e3d47c50f4..bb60563219df 100644 --- a/drivers/gpu/drm/vc4/vc4_kms.c +++ b/drivers/gpu/drm/vc4/vc4_kms.c @@ -16,9 +16,11 @@ #include #include +#include #include #include #include +#include #include #include diff --git a/drivers/gpu/drm/vc4/vc4_plane.c b/drivers/gpu/drm/vc4/vc4_plane.c index dee525bacd4b..bad505206f55 100644 --- a/drivers/gpu/drm/vc4/vc4_plane.c +++ b/drivers/gpu/drm/vc4/vc4_plane.c @@ -17,6 +17,7 @@ #include #include +#include #include #include #include @@ -24,6 +25,7 @@ #include #include #include +#include #include "uapi/drm/vc4_drm.h" diff --git a/drivers/gpu/drm/vc4/vc4_txp.c b/drivers/gpu/drm/vc4/vc4_txp.c index ef5cab2a3aa9..872dc0cd2e4b 100644 --- a/drivers/gpu/drm/vc4/vc4_txp.c +++ b/drivers/gpu/drm/vc4/vc4_txp.c @@ -15,11 +15,13 @@ #include #include +#include #include #include #include #include #include +#include #include #include #include diff --git a/drivers/gpu/drm/vc4/vc4_vec.c b/drivers/gpu/drm/vc4/vc4_vec.c index a3782d05cd66..0ad9f4fdc1e8 100644 --- a/drivers/gpu/drm/vc4/vc4_vec.c +++ b/drivers/gpu/drm/vc4/vc4_vec.c @@ -14,8 +14,10 @@ */ #include +#include #include #include +#include #include #include #include