From patchwork Mon Jan 9 10:12:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Zimmermann X-Patchwork-Id: 13093231 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 CBCE3C5479D for ; Mon, 9 Jan 2023 10:14:02 +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:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=IqBYe/BiwhxTl7UO5au7z6sWRWlJJotQUHXGi8g3K/I=; b=4QgbTWxpS+CX15 AbxCiYpw18XkI79CYTqIPjpJOFubT3/4MulzxNJ3FacoPeR47ssk7nVUlAqfEXYfqfI/KuH7fJ1en x05inbSmnlqL4OxNBhSl6cymtmKIq6VJEvvZWqspODYLjJ5ICuAcLLwMtAfYmr3ycAZTPAC6o2mPV 0hFgQ4N6w3UZJgH9mP+degPaln7cRH/uv7nE2m1pTPuZP/y9UklOkZq7EUzQv47kyoSiUY7X9aXL/ JqrYLr08kwJjDQkyg78DG1s4PbuM1hR1fobvGADRaNItrSHbligc5BI6nSAFT7Dn7w3SnN6cw7c2+ s1KEsjXKUQM5lN1wxkiw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEp9D-000jJ5-Mj; Mon, 09 Jan 2023 10:12:55 +0000 Received: from smtp-out2.suse.de ([2001:67c:2178:6::1d]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pEp9A-000jDi-25; Mon, 09 Jan 2023 10:12:53 +0000 Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id EBB04202E6; Mon, 9 Jan 2023 10:12:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1673259164; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=+nPCQAj1zcgU1AbzIF46JGpfEheuec7RdjM6Yy+AWvM=; b=xZpY5tOMDtFOZj0hLYrl0XXC2tY1ldpktqHkGFh/Qy6I6phoBJJIHRhnjHxSYi0NfRmPiV 6z1skNyGTYEcPDH9YxDcs/ePn4bNmBazlZjDb1JiD4WuHxrzlsvLMFRqVGk3W/XMv/Onej tTmmtra7ujOyDcJfSrwKb3fWgW84S6w= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1673259164; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=+nPCQAj1zcgU1AbzIF46JGpfEheuec7RdjM6Yy+AWvM=; b=mqyHl6EGEJ6xYP2j0I/EOOgKdAkVs9/WCcVVXlQI/tOctmGm+tRFs9mGRwImMr5q25M0su MDdEl3yvJAyBlSAg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id A0A5B13583; Mon, 9 Jan 2023 10:12:44 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id WvhEJpzou2O3EwAAMHmgww (envelope-from ); Mon, 09 Jan 2023 10:12:44 +0000 From: Thomas Zimmermann To: alexander.deucher@amd.com, christian.koenig@amd.com, airlied@gmail.com, daniel@ffwll.ch, maarten.lankhorst@linux.intel.com, mripard@kernel.org, patrik.r.jakobsson@gmail.com, thierry.reding@gmail.com, sam@ravnborg.org, f.fainelli@gmail.com Cc: dri-devel@lists.freedesktop.org, bcm-kernel-feedback-list@broadcom.com, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, amd-gfx@lists.freedesktop.org, Thomas Zimmermann Subject: [PATCH 0/5] drm: Do not include unnecessarily Date: Mon, 9 Jan 2023 11:12:38 +0100 Message-Id: <20230109101243.26995-1-tzimmermann@suse.de> X-Mailer: git-send-email 2.39.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230109_021252_263344_81ACEF5C X-CRM114-Status: UNSURE ( 7.64 ) 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 Remove unnecessary include statements for . I recently changed this header and had to rebuild a good part of DRM. So avoid this by removing the dependency. Some source files require the OF or backlight headers. Include those instead. Thomas Zimmermann (5): drm: Include where needed drm: Don't include linux/fb.h in drm_crtc_helper.h drm/amdgpu: Do not include drm/panel: Do not include drm: Include in drm_modes.c drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | 2 +- drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 1 - drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 1 + drivers/gpu/drm/amd/pm/powerplay/hwmgr/smu7_hwmgr.c | 1 - drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_hwmgr.c | 1 - .../gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c | 1 - drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega12_hwmgr.c | 1 - .../gpu/drm/amd/pm/powerplay/hwmgr/vega12_processpptables.c | 1 - drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega20_hwmgr.c | 1 - .../gpu/drm/amd/pm/powerplay/hwmgr/vega20_processpptables.c | 1 - drivers/gpu/drm/amd/pm/powerplay/smumgr/ci_smumgr.c | 1 - drivers/gpu/drm/drm_modes.c | 5 +++-- drivers/gpu/drm/gma500/backlight.c | 2 ++ drivers/gpu/drm/panel/panel-ilitek-ili9881c.c | 1 - drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c | 1 - drivers/gpu/drm/panel/panel-ronbo-rb070d30.c | 2 +- drivers/gpu/drm/radeon/radeon_acpi.c | 2 +- include/drm/drm_crtc_helper.h | 2 -- 18 files changed, 9 insertions(+), 18 deletions(-) base-commit: ac04152253dccfb02dcedfa0c57443122cf79314 Acked-by: Maxime Ripard