From patchwork Sun Jun 2 12:04:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13682810 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 327BDC27C44 for ; Sun, 2 Jun 2024 12:05:16 +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=bLHNpIdLegnwgKgSOyd42wTOH3ruEmqN60P1/uPgFDM=; b=exnk9Yhd8VVf4j j9jQWdAFTK1q7NBCChWd/uTe57Kv59YRlG8tMowFGY36fBMVVj4fsLLawFKaIWw6o/35Z1M0zXrkC c6CgMbSggY0KFjDQJHH7OG6E8Ya2HtZ4fTN3hA8uHQ3ck92rxKhWRSOpNChFxCeE04NvVqWc0MsJx gKGu0xhwibNLXPlYZK4z2Cal+awGy56yrVarJQ41AOgbYkBUi7zA7I1zt/HahSVMXH1HH/FNLJKvT gzkyFoVXueYZkk/O36r9QXObPVSzT6VeMrG5xCvyQvdPgEDvAdLy/Gv0WRAHr7kkOX1dr9NZWSqKu zqtq7vtGgwp0FoH2iKTw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDjxI-0000000EBPL-31Dz; Sun, 02 Jun 2024 12:04:56 +0000 Received: from mail-lf1-x12d.google.com ([2a00:1450:4864:20::12d]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sDjxE-0000000EBLt-0vzg for linux-arm-kernel@lists.infradead.org; Sun, 02 Jun 2024 12:04:53 +0000 Received: by mail-lf1-x12d.google.com with SMTP id 2adb3069b0e04-52b7e693b8aso2831558e87.1 for ; Sun, 02 Jun 2024 05:04:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717329889; x=1717934689; darn=lists.infradead.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=nxc4vHH87Y1eSO87AR835I7/5WLCpgJXyFLj/BGpZY0=; b=SfRVutst4BFezohgvIjKeEKlboV6u2Q7DxeCSFkWbD3YTOKiKlQpsh8Haml6HMK0I0 Y0gez0kVYs8P7/3SXOIv5isinC3zdMqf/JZO8LyccHFB3ckDqtczEvmhZwO3Nss2yQWl WaI3hkgaa7E9J4g9PTDrEn7fcImpmdGNKhlHUUzR2Nno6Yw76AWqbUvfI2S6oH//vKfK FIBgST85FK6IhbLXlylirehnBxVboEPtWRitRfFT5WVotozpLUaPDPfy7UrpU9gnqz9q OuAReeCL4nLe7qEBekheTnxwFWOh9564sRVFgkJu57a6i/IJerpkAO6+M9sx5eUetlnK ywbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717329889; x=1717934689; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=nxc4vHH87Y1eSO87AR835I7/5WLCpgJXyFLj/BGpZY0=; b=jLCh5Qem0HhCOzfyOShkpkKudNIuCgb0cZroLW1ppDoNIcspVLNbZUH9nfQOETh+RF 33BvZsyelMZGvbQRD74G5eCUf+e/Tab0TaQac8h35ElweV7PdLtbLu5+MvwvdrxR7X7y TUJ/Fk1wbW9tPDuxhThJgCMMEjSIl23VPlMkpnXX1PuQemLlEBPjYnMhrJJh+GJD+jMr HCv4Bmh91yQGIS7C45E4DSsQb3gtCis/Y58hGzJRG38QSm4hy1u1hqSlbwNmg83gTY5k NzCF0uOlAvXJFtagdorrnHgE7Dxy/NhFWUMd6PZoeSPmj2HaLFvHbQloqRQNiYbgO5t5 V+bg== X-Forwarded-Encrypted: i=1; AJvYcCWnegAjdBZxU0C6rsjCZe3AV/skH5hKd7Pe3vyINKKTt3tefEgv+qbatWzdht5k5nizjj4+9SN2FHbFbK/8Iaiibx+gxAuFES/9SUamvDHDBGI8HAc= X-Gm-Message-State: AOJu0YwQ72AjD4JuiXP6FZ0RuBWuugfPQ5iIT+m5CkYlvjONrKgODtXW Pe/+k7BXZvB7YqddK1q+lAojUEgOzq6wG7h42bxAxW3Ts2t9hRylGzxI1w/yJxM= X-Google-Smtp-Source: AGHT+IFPOiv0yb9NenXs61eeyl+FTzUia9VO7YGHEV3B4cyF+m7yIyCA+pulo20IEMCgPXGBKi/V/A== X-Received: by 2002:a05:6512:3d20:b0:52b:963d:277c with SMTP id 2adb3069b0e04-52b963d2864mr477027e87.33.1717329889449; Sun, 02 Jun 2024 05:04:49 -0700 (PDT) Received: from umbar.lan ([192.130.178.91]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-52b8b56867fsm759398e87.44.2024.06.02.05.04.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 05:04:48 -0700 (PDT) From: Dmitry Baryshkov Date: Sun, 02 Jun 2024 15:04:43 +0300 Subject: [PATCH v3 03/12] drm/imx: cleanup the imx-drm header MIME-Version: 1.0 Message-Id: <20240602-drm-imx-cleanup-v3-3-e549e2a43100@linaro.org> References: <20240602-drm-imx-cleanup-v3-0-e549e2a43100@linaro.org> In-Reply-To: <20240602-drm-imx-cleanup-v3-0-e549e2a43100@linaro.org> To: Philipp Zabel , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: Chris Healy , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, Dmitry Baryshkov X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1410; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=ZDw9je94QoyosO0168STtseYxQQ179pVpV6GiETvE+4=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBmXF/c9m9P02PzAYv+Hvngg0pK/UDBTwhhmG1zr 6YIzCrb9vGJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZlxf3AAKCRCLPIo+Aiko 1fjzCACVJAOnM38OBMjesvSYWvhCttUEqRnqa1cwq4nlLesJDTMZ2OUTNhRtlYVXOyjfQdPCZoY sFg6k3yFt2WWYJBGVbYAc3fuchDTgb0HEb98vxj41NM9rI7BNJSWHJlLr6XS7RGIK7LtSQ9vpcj ESAFP3iCtlpbs+a0als6qX4eWKJZOLwj8uq1Lt4aQSHCSo9e4RyTzhFKMcp9PsbQWyhhWQLek1u ABZyZLlg4UbyRcy0FlQAFgPnpEw6Y5h4FovYheyJU3SjH1hxE5Ve5sHgaXMJ8/nqFD0scxw+dML s3IqxYlKtclaMDhG8+vC5UlutqEjdAQVKc/YRM0Y6WMrzg/l X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240602_050452_295518_388568DD X-CRM114-Status: UNSURE ( 8.81 ) 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 Drop unused defines and obsolete prototypes from the imx-drm.h header. Reviewed-by: Philipp Zabel Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/imx/ipuv3/imx-drm.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/gpu/drm/imx/ipuv3/imx-drm.h b/drivers/gpu/drm/imx/ipuv3/imx-drm.h index e721bebda2bd..e01f026047de 100644 --- a/drivers/gpu/drm/imx/ipuv3/imx-drm.h +++ b/drivers/gpu/drm/imx/ipuv3/imx-drm.h @@ -3,14 +3,9 @@ #define _IMX_DRM_H_ struct device_node; -struct drm_crtc; struct drm_connector; struct drm_device; -struct drm_display_mode; struct drm_encoder; -struct drm_framebuffer; -struct drm_plane; -struct platform_device; struct imx_crtc_state { struct drm_crtc_state base; @@ -24,16 +19,9 @@ static inline struct imx_crtc_state *to_imx_crtc_state(struct drm_crtc_state *s) { return container_of(s, struct imx_crtc_state, base); } -int imx_drm_init_drm(struct platform_device *pdev, - int preferred_bpp); -int imx_drm_exit_drm(void); extern struct platform_driver ipu_drm_driver; -void imx_drm_mode_config_init(struct drm_device *drm); - -struct drm_gem_dma_object *imx_drm_fb_get_obj(struct drm_framebuffer *fb); - int imx_drm_encoder_parse_of(struct drm_device *drm, struct drm_encoder *encoder, struct device_node *np);