From mboxrd@z Thu Jan 1 00:00:00 1970 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 EE20FC71136 for ; Tue, 17 Jun 2025 18:56:17 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 28ACE10E00C; Tue, 17 Jun 2025 18:56:17 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=fail reason="signature verification failed" (2048-bit key; secure) header.d=infradead.org header.i=@infradead.org header.b="etzspGAz"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) by gabe.freedesktop.org (Postfix) with ESMTPS id DA76D10E00C; Tue, 17 Jun 2025 18:56:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:Message-ID:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:In-Reply-To:References; bh=tIw2w8u4nYMztG5MgyDq77ZNr77yNCVZF5PqgMqfT/c=; b=etzspGAzIiggD7N2nPSW091Txt eqVQG4e+2T5J7zHhK1idKeV0F5EKOLticNKRWy0d1wWROjKnDxDnKzoUkHeVqLf1dy0bJ+sguMRly ymsUlyNvShhkqLAy5cwoupL6tjObWUN3AT+X1IvuuKHaF1NpCNdm1oH361Is1lK/EHU7xaIc30Map 7tlGJoMaQ9588y2i588Hom9elOLhVz7Kf4TMXK+xTL5UN6yCulacptSAKYRpzfLIpCGJQw+yDmSrD AJhAO8T4OlOGviKqeUteKcDB9bSLRHkRehqhmW/8BaROjIKGmJyqlzZeSx24YxA+30codY8weqy2d rUTIdSaA==; Received: from [50.53.25.54] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.98.2 #2 (Red Hat Linux)) id 1uRbTg-00000008Bua-1yAx; Tue, 17 Jun 2025 18:56:12 +0000 From: Randy Dunlap To: dri-devel@lists.freedesktop.org Cc: patches@lists.linux.dev, Randy Dunlap , Stephen Boyd , Dmitry Baryshkov , Dmitry Baryshkov , Dmitry Baryshkov , Rob Clark , linux-arm-msm@vger.kernel.org, freedreno@lists.freedesktop.org, Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann Subject: [PATCH] drm/msm/dp: add linux/io.h header to fix build errors Date: Tue, 17 Jun 2025 11:56:11 -0700 Message-ID: <20250617185611.2965223-1-rdunlap@infradead.org> X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Add header to pull in readl/writel and friends. This eliminates the following build errors: drivers/gpu/drm/msm/dp/dp_panel.c: In function 'msm_dp_read_link': drivers/gpu/drm/msm/dp/dp_panel.c:33:16: error: implicit declaration of function 'readl_relaxed' [-Wimplicit-function-declaration] 33 | return readl_relaxed(panel->link_base + offset); drivers/gpu/drm/msm/dp/dp_panel.c: In function 'msm_dp_write_link': drivers/gpu/drm/msm/dp/dp_panel.c:43:9: error: implicit declaration of function 'writel' [-Wimplicit-function-declaration] 43 | writel(data, panel->link_base + offset); Fixes: d7e3bee925bd ("drm/msm/dp: drop the msm_dp_catalog module") Signed-off-by: Randy Dunlap Cc: Stephen Boyd Cc: Dmitry Baryshkov Cc: Dmitry Baryshkov Cc: Dmitry Baryshkov Cc: Rob Clark Cc: linux-arm-msm@vger.kernel.org Cc: freedreno@lists.freedesktop.org Cc: Maarten Lankhorst Cc: Maxime Ripard Cc: Thomas Zimmermann --- drivers/gpu/drm/msm/dp/dp_panel.c | 2 ++ 1 file changed, 2 insertions(+) --- linux-next-20250617.orig/drivers/gpu/drm/msm/dp/dp_panel.c +++ linux-next-20250617/drivers/gpu/drm/msm/dp/dp_panel.c @@ -12,6 +12,8 @@ #include #include +#include + #define DP_INTF_CONFIG_DATABUS_WIDEN BIT(4) #define DP_MAX_NUM_DP_LANES 4