From patchwork Mon Feb 12 13:12:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 13553065 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 DA498C4829B for ; Mon, 12 Feb 2024 13:13:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=38opFR3QOCMpqKwaV4hE83aZJ5qkmV2wX8EbjUYuTh4=; b=tk1I7hVlpbrBf4 C7JtRwqv3VJupAuNjjBfnTlEuTSKkfHRiOFIjQ3WIIxJ8HkFGS89/+nFMxybYoBHl2TGQpubpvpTv rSesNfG5X7IsSl+WoecyMS5LeFg2ZyEUa7yA9GZ2Bb2epAxr9NVb+cVMl5IyWMqeLzYYGR7TSB6HS WIefdqbS4RTLcBH//W59ptnErcvif2+9sFtnMity+1okUWA5u7oHns0JELgb0kvOPUcnw0xqgQKO1 GgKp2CEJWS2F070Ru0PHNLe6O0Ov+mGYxRsM7EaMbq1keq1sW1bk8tlf9F6tt11v/VHP+UjZGSWSQ j80PjPFB1BVIi+O1nF5g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZW7w-00000005OV8-47Dv; Mon, 12 Feb 2024 13:13:40 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rZW7o-00000005OPG-26mM; Mon, 12 Feb 2024 13:13:33 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id D587360FB4; Mon, 12 Feb 2024 13:13:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 56B5EC43399; Mon, 12 Feb 2024 13:13:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707743611; bh=81lEe31K2YU0V4EnFq3xxesUJy/t9LyYJwWTzno5+Rg=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=agMK6zpvNkiF/exIgCw6MWEwPTwthUWbp7r55Qi9e+QM6MF82pxE8GXReInl+uxkt UPWPI2UPVwJcvRL6hcKHnuiwe6Y+Jpn/I2OcLbGU7AwRCgF7I7fzwp4uitSHUGp++B w3xGCk7/verBbLy5tcOGxTqnUbzKS195N15pPsSVHCsjMgpmDkilLn3p/77QjXaGkr CCF4AZ+czm+PdhZ6fMmv1A2OgWRmLC5ew1XN+SJMi5bk20J43QtnZqe3PjjtnRN2mb vduSytTdtFAhd1qL95znRl0o40rcMk0BbNhr3K+n7m3vgEK4f2dYKr3AklojLCZaLM GiHMhmb9msFog== From: Maxime Ripard Date: Mon, 12 Feb 2024 14:12:44 +0100 Subject: [PATCH v6 01/36] drm/tests: helpers: Include missing drm_drv header MIME-Version: 1.0 Message-Id: <20240212-kms-hdmi-connector-state-v6-1-f4bcdc979e6f@kernel.org> References: <20240212-kms-hdmi-connector-state-v6-0-f4bcdc979e6f@kernel.org> In-Reply-To: <20240212-kms-hdmi-connector-state-v6-0-f4bcdc979e6f@kernel.org> To: Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Emma Anholt , Jonathan Corbet , Sandy Huang , =?utf-8?q?Heiko_St=C3=BCbner?= , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: Hans Verkuil , dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-rockchip@lists.infradead.org, linux-sunxi@lists.linux.dev, Maxime Ripard X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=857; i=mripard@kernel.org; h=from:subject:message-id; bh=81lEe31K2YU0V4EnFq3xxesUJy/t9LyYJwWTzno5+Rg=; b=owGbwMvMwCX2+D1vfrpE4FHG02pJDKmnJONyhB9FcElXrd69yPRXoObCkusKM1a2Hv5oaXJ4z +Hk8hCXjlIWBjEuBlkxRZYYYfMlcadmve5k45sHM4eVCWQIAxenAEykKonhv0fno5pP9Vc7D/+Z d1Fy4WvWJZy9e/cde6KwQjduwbKZhYGMDGdOfGx44vFtk85ti+fdSxJK35UELNHaWctYFPVA8UI PFzcA X-Developer-Key: i=mripard@kernel.org; a=openpgp; fpr=BE5675C37E818C8B5764241C254BCFC56BF6CE8D X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240212_051332_641526_01C8B03D X-CRM114-Status: UNSURE ( 8.75 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org We have a few functions declared in our kunit helpers header, some of them dereferencing the struct drm_driver. However, we don't include the drm_drv.h header file defining that structure, leading to compilation errors if we don't include both headers. Fixes: d98780310719 ("drm/tests: helpers: Allow to pass a custom drm_driver") Signed-off-by: Maxime Ripard --- include/drm/drm_kunit_helpers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/drm/drm_kunit_helpers.h b/include/drm/drm_kunit_helpers.h index ba483c87f0e7..3ae19892229d 100644 --- a/include/drm/drm_kunit_helpers.h +++ b/include/drm/drm_kunit_helpers.h @@ -3,6 +3,8 @@ #ifndef DRM_KUNIT_HELPERS_H_ #define DRM_KUNIT_HELPERS_H_ +#include + #include #include