From patchwork Thu Oct 31 21:44:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13858383 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 08D24E67485 for ; Thu, 31 Oct 2024 21:44:20 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 737B010E939; Thu, 31 Oct 2024 21:44:19 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="ndEO95SY"; dkim-atps=neutral Received: from mail-lf1-f51.google.com (mail-lf1-f51.google.com [209.85.167.51]) by gabe.freedesktop.org (Postfix) with ESMTPS id 8517F10E93A for ; Thu, 31 Oct 2024 21:44:16 +0000 (UTC) Received: by mail-lf1-f51.google.com with SMTP id 2adb3069b0e04-539f72c913aso2254965e87.1 for ; Thu, 31 Oct 2024 14:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730411055; x=1731015855; darn=lists.freedesktop.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=OqNSFMIgIgV5OpXdR/7l7nRGQJoQyaD3983y+et4GC4=; b=ndEO95SYCPZx7yZjiktIc2RsV3Ue+J2KFQucOBMYRVaIc3dfPhUfyjlBIoUZXf6D/F wDBLrsgbM80EtIPXCMlJgqdh+Y8fJ95teSaAA+ZB7vHeC55TPDFJjBpYVXbGwE9RV8YR 3WGhnl1G9adh0yiee1IeiJn1vxW1GeWzmU19+CVerTV6em5qAHsqp78iwn45G8QSvpxy gXpQETyvhdXPsblUqT/lJbdhKfMWNYoXrUmIcOP2jbChn3NfiPbQ5bJCrMT/w5E6ULhI J+NLEn58Gj5l+X9DIVhvZStct1cTygk8xwOOUZRMK109TdEGnQafMy9iFfNj1QmohQBn /dKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730411055; x=1731015855; 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=OqNSFMIgIgV5OpXdR/7l7nRGQJoQyaD3983y+et4GC4=; b=IFulgKMKYYjiSSAsn58SXu6TeRYTzT15PLn0uUiidST6OqIuwBm1ZxUGWrxhzBcWjk Im1RVuIf3RPItClf2YmM8Gp1BhLW28HdqlXk8X98EXUeh8hFej2VVywJtxzxumt95cOv 2KNT264ykbqSm8pJdQCqWtKAQyb6JKJxky/nR6ZgLEm09BhoKPwfV+NkMFmvxLyKxvKQ P5dahB/nv9o+CpIp5NbMn7rX+4GNfrSgokaoNOj8hc5areIw+5OOzFsxKNtcNwK3RTQg 8bWZBUAku2TyxNkFw13DK5qqMCrcXCtoh7z+fEGFAJtzZB0xhkj9N8j3YFLj3u2ut1gx +Qbg== X-Forwarded-Encrypted: i=1; AJvYcCW18/dUKuNhwbRhy/yZaqjNPOzeAm+D97tvFyp/Erx4WYrJQURvw5iXrZo3HNPNYMJFmBa/NSYBscI=@lists.freedesktop.org X-Gm-Message-State: AOJu0YyM8/63R/wcOnnUNu7AS+0btrLLgOyVRlkTzRL6B35cTyPvd2lt scBn+jp+Ct7DbNawDks9sNkrDiYlG6u+05XNZCgLFJZgGNw3HOzCdXJnML0zBLlj3vQD9uS1VGA r X-Google-Smtp-Source: AGHT+IHwHI39pMLKJYKB/wJbzqMugbwMOcaMVOgXGw6qMYzh2l8oGIsERY8Roc/3xeyAXemPUVpnHw== X-Received: by 2002:a05:6512:3b1e:b0:539:f37f:bed9 with SMTP id 2adb3069b0e04-53b348c38d4mr10744771e87.8.1730411054650; Thu, 31 Oct 2024 14:44:14 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53c7bc9c162sm339567e87.96.2024.10.31.14.44.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2024 14:44:13 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 31 Oct 2024 23:44:06 +0200 Subject: [PATCH 1/3] drm/msm: move msm_display_topology to the DPU driver MIME-Version: 1.0 Message-Id: <20241031-dpu-move-topology-v1-1-8ffa8122d3b6@linaro.org> References: <20241031-dpu-move-topology-v1-0-8ffa8122d3b6@linaro.org> In-Reply-To: <20241031-dpu-move-topology-v1-0-8ffa8122d3b6@linaro.org> To: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2272; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=3gmgqvAjzCSSavAjV5jJg0GKqDw6X9/s8Cl9bedoQdA=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnI/opyJCRQfXjqH5VCLGGgyhtrc2f1DqM69JuU HJU3VI5uniJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZyP6KQAKCRCLPIo+Aiko 1f+jCACrvoUEvzZiGZj7CBTSY3ijv0NmWwvH4XePIES1czqYUu6Z+pxY1CCBpm1SLUQZd1qDCC3 dDcLfo7lktlCYzwkNA/N0fiycFu8tzXvBKIiKQ/MBlbdOdcUok+NkoeP3KsvEctlWeBei9QB2U4 r+zSJD2mRsj81j3kxzDwgoG0GvsOtfOJ4Ph+TKn4a/steVHjOijVUMJNJit7mo9sjIt6hZ81jp4 xy763WiGofpM9ofjrzNQMo9ut3d43pWs00jd7RknOTmg9pujEGu1TsmU/W6pPcbIQyqpk1Dii+9 jWLamaVNSz59rGQUbw0kwUzjftva87JP8IS6i/jZBqNf1rtc X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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" The struct msm_display_topology is only used by the DPU driver. Remove it from the global header and move it to DPU-specific header. Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h | 16 ++++++++++++++++ drivers/gpu/drm/msm/msm_drv.h | 16 ---------------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h index e63db8ace6b9..14220ba04a78 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_rm.h @@ -37,6 +37,22 @@ struct dpu_rm { struct dpu_hw_blk *cdm_blk; }; +/** + * struct msm_display_topology - defines a display topology pipeline + * @num_lm: number of layer mixers used + * @num_intf: number of interfaces the panel is mounted on + * @num_dspp: number of dspp blocks used + * @num_dsc: number of Display Stream Compression (DSC) blocks used + * @needs_cdm: indicates whether cdm block is needed for this display topology + */ +struct msm_display_topology { + u32 num_lm; + u32 num_intf; + u32 num_dspp; + u32 num_dsc; + bool needs_cdm; +}; + /** * dpu_rm_init - Read hardware catalog and create reservation tracking objects * for all HW blocks. diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index 133e47bea7d5..ae3adb0f68a8 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -73,22 +73,6 @@ enum msm_dsi_controller { #define MSM_GPU_MAX_RINGS 4 #define MAX_H_TILES_PER_DISPLAY 2 -/** - * struct msm_display_topology - defines a display topology pipeline - * @num_lm: number of layer mixers used - * @num_intf: number of interfaces the panel is mounted on - * @num_dspp: number of dspp blocks used - * @num_dsc: number of Display Stream Compression (DSC) blocks used - * @needs_cdm: indicates whether cdm block is needed for this display topology - */ -struct msm_display_topology { - u32 num_lm; - u32 num_intf; - u32 num_dspp; - u32 num_dsc; - bool needs_cdm; -}; - /* Commit/Event thread specific structure */ struct msm_drm_thread { struct drm_device *dev; From patchwork Thu Oct 31 21:44:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13858385 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 13AA5E67489 for ; Thu, 31 Oct 2024 21:44:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 769AB10E93F; Thu, 31 Oct 2024 21:44:23 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="g76v77Uj"; dkim-atps=neutral Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0A57210E939 for ; Thu, 31 Oct 2024 21:44:19 +0000 (UTC) Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-539f4d8ef66so1853874e87.1 for ; Thu, 31 Oct 2024 14:44:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730411057; x=1731015857; darn=lists.freedesktop.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=yPKV1l7WQPDfH9lzOb2q17A3D4m537PwpneYn5oJnQU=; b=g76v77UjFlqHDkHjD+9t46VCZsvPun0S0t8R63I7tH38gueJCZH0JbKQ+JaLTPmwQT BY4ML938f9MXUFM4hvVACqq8giOTX5B9jFivL/VavujwGZeUCaRubEKGe04/h9Fsvlm7 uwowrPRDRh2g18wEe86cy/jW88B/qfZ2g3AH6r8YskiA1IINWEMfdsQPoAYEBfJbCQX6 xfwIlemI5rmgU9k1n2Eg3mQXI4CImeR9ipkmGakD1g0N74PMiGWzbfy/IFCYIjiLXvso rA4D8guo3QvK4uMROJiq/8DiVjV7+CxXizJZOKTPXTSlWI+3EfcDpAu2ak0/mchR+jZs 5WgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730411057; x=1731015857; 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=yPKV1l7WQPDfH9lzOb2q17A3D4m537PwpneYn5oJnQU=; b=eMjsuOJ30y/4OBrFgE7xCGKwzQfXq+284H92R1Sdg5wIAKiUy0OLZ6WtBkpCRfJi6o QdW0ZOhit6tE5FEfVisHj5GXfgVs1kH9RJieux+N/jv9lN2iG4AgPdsErON67QjStTyg 3A0TlsxHBUbRvT9b3Bs5GOJ2YoGkcB/geZuXZTQEdWyuEb29C4pwsxALjQVnD6q4tq/W ohOyyIA09jrH9yFjJZWHtDGPXcf78JMzii2rU84KTp8peKjdbYp58cQEHWsQ+8Yz2FiT dRlgVCmrBB3tU6dv2JmouEDc/phU18kU8bzXAIOiYKzNc1o1znr8tn+t2pxDGu4GuQLA sXLQ== X-Forwarded-Encrypted: i=1; AJvYcCWSYUGpntFbKAW3u2Uphwny2excrvOzargrh5wmhAO8RPNLKZj44yaXGGXODU8kW92UZ+lZIN4nYo0=@lists.freedesktop.org X-Gm-Message-State: AOJu0YyDtSsFYLm2jZkwecPTC44hiSSQPOI37BtgjiSms4SH89V2WK5R JVyyydTd7hls+nHPFsEFGwUGjQYiy14mfWvU1nYKN6nQ0oFNlxerSHOVqkG9pFM= X-Google-Smtp-Source: AGHT+IF7OeiHuEUiv/XfwwF6Y6HWxRlTSBXOzk5RY/Fkj6TlVnxbw0iYwOlxHHfb633UcIq0Xh3bIw== X-Received: by 2002:a05:6512:1086:b0:52e:fd75:f060 with SMTP id 2adb3069b0e04-53b34ca4c4emr9695300e87.61.1730411057141; Thu, 31 Oct 2024 14:44:17 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53c7bc9c162sm339567e87.96.2024.10.31.14.44.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2024 14:44:15 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 31 Oct 2024 23:44:07 +0200 Subject: [PATCH 2/3] drm/msm: move MAX_H_TILES_PER_DISPLAY to the DPU driver MIME-Version: 1.0 Message-Id: <20241031-dpu-move-topology-v1-2-8ffa8122d3b6@linaro.org> References: <20241031-dpu-move-topology-v1-0-8ffa8122d3b6@linaro.org> In-Reply-To: <20241031-dpu-move-topology-v1-0-8ffa8122d3b6@linaro.org> To: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1180; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=EC7IGqyWyXuYvmoAr9YuRm5TGifA5Zv3WnYyU2rd82o=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnI/opi+wDcjEvxhC+rIat6pKUCcGKpfNdmmaAt 9vUSHuUDLqJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZyP6KQAKCRCLPIo+Aiko 1YzdB/4jdKKPqLoJbWAouBP5G+3BfGdeVtLUvTtV+yvyS3gWhRxPsytqFnjEoXTckZ1A/yTNGNA Hb943ynC6jUrpCYTdDNvinO5brkmhw2yx0HO9e12L6677VH8SlBRGevTaKEDoK4IO+EYyZBWLiy hBxllul6PktuqP5crBnmLU/5SNphhqNxeeofJlbeDF8eCqPQuBwB3jxL4kB51UIAGeFbRAAdRzC UsyyhYE5wCkWa/BNqNAsbitddR45Dgx2UnhHmGdI5RCsaoaKAziQJmOogxPK36Uc8KD7BhfqBPz WYV7Uhf3Bqgh5r/DkrsbgULO9cXKAoJjA5gJsRoxIq7ObEH4 X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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" The MAX_H_TILES_PER_DISPLAY const is only used by the DPU driver, move it to the corresponding header. Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h | 2 ++ drivers/gpu/drm/msm/msm_drv.h | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h index f7465a1774aa..6c4f3d7dfbb1 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.h @@ -19,6 +19,8 @@ #define IDLE_TIMEOUT (66 - 16/2) +#define MAX_H_TILES_PER_DISPLAY 2 + /** * struct msm_display_info - defines display properties * @intf_type: INTF_ type diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index ae3adb0f68a8..1dc161d9bf51 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -71,7 +71,6 @@ enum msm_dsi_controller { }; #define MSM_GPU_MAX_RINGS 4 -#define MAX_H_TILES_PER_DISPLAY 2 /* Commit/Event thread specific structure */ struct msm_drm_thread { From patchwork Thu Oct 31 21:44:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 13858384 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 A8EA4E67488 for ; Thu, 31 Oct 2024 21:44:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D9B8010E93E; Thu, 31 Oct 2024 21:44:22 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="xS2lmo97"; dkim-atps=neutral Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) by gabe.freedesktop.org (Postfix) with ESMTPS id 89AD710E93E for ; Thu, 31 Oct 2024 21:44:21 +0000 (UTC) Received: by mail-lf1-f49.google.com with SMTP id 2adb3069b0e04-53b13ea6b78so2409941e87.2 for ; Thu, 31 Oct 2024 14:44:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1730411060; x=1731015860; darn=lists.freedesktop.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=Jw811QvSxkKlTSi13fRKJUYPt91Pu2RmLTiZSYENA0A=; b=xS2lmo97L5nVaiX2hIdAradt+U8U+ZzAwnbjtzk2cQPKLxnnF7mQ+oXCqUmgOide6Y 0qvIBWY3rdcdK1Uac0vPgOKFnezjawSYaU6OZVWRav+sIGdpSXyx7+APRTlLkWUX+mbK lukTqqlHiAuVxQFNYGWFks7XBCgHHS1PTKqiNQuLC0X8vjK0K00C9aU/eEw16ckHGw5r ey9X0xcj+iztLYoxLrC9vrswua+sY7nbLR8TnwF3ZFWZN8Qzc65mTfae/mTLqwaRCAhR GOiDk4dNXmVdN5Yz44Yq5x8IbYq364Rt1HZUFyVIDv1jaZHfb5yc3oZbKZyQZZUuLVev 8drA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730411060; x=1731015860; 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=Jw811QvSxkKlTSi13fRKJUYPt91Pu2RmLTiZSYENA0A=; b=MwqE4lx1yMGh0mb5UwYuj1O77s3NnSccSTPNGju+U8Tj3bsfGFvGPSt6YElvbglMew spyVcdO2DBjtbsjPXGVwCkoCkGFTZh5Ucmfn5bvt8XKCwjHIWzTxE1Ha1dTv/+GyMBOc zoz2stXUwmSjLG3M5UI+uub+ZsEtLxkQcRiWVtERa22MT7L6aM7aI+T6n0iNfcRlnekY El+Uxt/D4RNLSTBoNLgn2miKZIFHsxgs+kSgdfPJU+nvwWCGgKezRsnfrorwrViR2LTZ bjlg4T0LXEFW0lB8JUSastCytLNAByL5LTowL3kw+21CsWFg4xzG3wTMwU6RwPelt+fE LyzA== X-Forwarded-Encrypted: i=1; AJvYcCWuV5HnbzWTeglLAxsQhbX2wq6zrpsipTSXVs3hZrfclIC5qQ1mR1Y/Kb18b2V57pVNG4/i4O8mPxY=@lists.freedesktop.org X-Gm-Message-State: AOJu0YyAgTg70RdN/OTj0uPNnwTPsecjpx47yCP6dL/mqsHtavRGF6YY O5HEfgrBl0Li02XPbQAnoRNL7txFhznY+cj42jDFAjEiw43UPz4GVZVhOnLuSXCRAAuQmECIa0U 1 X-Google-Smtp-Source: AGHT+IHHauso5gw92N1K625tiIBh5li6TkbAZXQxxn6Vk07CDy0EXyPPBPtOf/csQkc5zctsYe1C1g== X-Received: by 2002:a05:6512:3f09:b0:539:901c:e2e with SMTP id 2adb3069b0e04-53d65e1634fmr1394608e87.58.1730411059664; Thu, 31 Oct 2024 14:44:19 -0700 (PDT) Received: from umbar.lan ([192.130.178.90]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-53c7bc9c162sm339567e87.96.2024.10.31.14.44.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 31 Oct 2024 14:44:18 -0700 (PDT) From: Dmitry Baryshkov Date: Thu, 31 Oct 2024 23:44:08 +0200 Subject: [PATCH 3/3] drm/msm: drop MAX_BRIDGES define MIME-Version: 1.0 Message-Id: <20241031-dpu-move-topology-v1-3-8ffa8122d3b6@linaro.org> References: <20241031-dpu-move-topology-v1-0-8ffa8122d3b6@linaro.org> In-Reply-To: <20241031-dpu-move-topology-v1-0-8ffa8122d3b6@linaro.org> To: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Simona Vetter Cc: linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org X-Mailer: b4 0.14.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=664; i=dmitry.baryshkov@linaro.org; h=from:subject:message-id; bh=kwRkgGoOjzZgmKn1Q7SGF0bYYDkMueTmYikFdU7ocIQ=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBnI/opEO4nZnJKudYd5VJNkM81POL5z8Lk8UCtt VL/KX7M452JATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCZyP6KQAKCRCLPIo+Aiko 1cprB/sEXHm98G7GhObz4/5yVDFNvTe00LSqFqAxgVssZBeqVE1wpljTMyaLDeW8j1/MuMs5aeI qv1qfeR8geOzJDZUsileUt7Hk2uWaLTpYcVAJqY4FCcctOq1LntrRX334wYzenxOFEdrnrGxUMu +Ku9Vmho3rB2mxEeBrI/frE5DtUsoC1sYRFlEAtgWjJ4qdE36JcUm7tr4vugAknz94xD4lNbouz o8kNdVF0pudl7ZZgrso5LFZSc1AqClTnXcMHceeb0mqMC3g2dKkxkBkfgLUJiHyNlMfh+CPIB/e LOfxjc++UkGDLVp0nVea20hvKveOQ4jOjQoue27okFvu/iLh X-Developer-Key: i=dmitry.baryshkov@linaro.org; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A 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" The const MAX_BRIDGES is unused after the commit 4d1a1e4686bd ("drm/msm: remove msm_drm_private::bridges field"), drop it now. Signed-off-by: Dmitry Baryshkov Reviewed-by: Abhinav Kumar --- drivers/gpu/drm/msm/msm_drv.h | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/gpu/drm/msm/msm_drv.h b/drivers/gpu/drm/msm/msm_drv.h index 1dc161d9bf51..d8c9a1b19263 100644 --- a/drivers/gpu/drm/msm/msm_drv.h +++ b/drivers/gpu/drm/msm/msm_drv.h @@ -52,7 +52,6 @@ struct msm_gem_vma; struct msm_disp_state; #define MAX_CRTCS 8 -#define MAX_BRIDGES 8 #define FRAC_16_16(mult, div) (((mult) << 16) / (div))