From nobody Sun Nov 24 23:12:53 2024 Received: from mail-lf1-f45.google.com (mail-lf1-f45.google.com [209.85.167.45]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8DC4F1CDFCE for ; Thu, 31 Oct 2024 21:44:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.45 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730411062; cv=none; b=OApUrCyH5dAKElUzxCyEUmSvmKQRUHEr1r5extIXMmsehd5sm9U3DirQtN9ELDWonKIJx1Drs1jMadB0o6frWikNKL6Rr2LMUwgWkEMKaOgYJ33wTzhh6WoMsO8XWQK6/4difDm4zxf3JiCg9+AhvzkcdJ8P6N97MFE28puTfug= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730411062; c=relaxed/simple; bh=3gmgqvAjzCSSavAjV5jJg0GKqDw6X9/s8Cl9bedoQdA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=JYdoYqi79L+Y5kXr0gnL59qjWcWgUw1oj9rgCQmbRczfvQSVRdXfaEp1r6j2OAj3XUgffIJp0EHn4gR4FziDKnS3NB8FZrZt6FZcfJg9jykKQPWTlJnLVxN+mLMU//AwUinzknW7O0t2gBVc62AQdYfasQsvTvKZ0emfKR48prM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Y/BvgOIJ; arc=none smtp.client-ip=209.85.167.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Y/BvgOIJ" Received: by mail-lf1-f45.google.com with SMTP id 2adb3069b0e04-539e5c15fd3so1291618e87.3 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=vger.kernel.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=Y/BvgOIJLnvOsl4cAAb4ak9WGwkknmEMc+7k4WtKvxtSm1YHH6wUTtS4xJDU6eErQL MsQtIY5UiDlwBXiNKsttvgN+sVCtqx1TmhpJP5IZRGUdSx/z6bDpTmysCV8r/YbZPBf9 edlNDBlmpPJZCGqRcFyOH4x3pS3laXKQxbI0I0XQrNlozfr6TIiRJMgcWyXB0b5SfHuy 4KkkUyP5zBLSKHNklFLc4+8CMT3V2CppASEYbt0ZG8nSoyuBR/iBwzkCBQqT3Qhlkb+G L1FFRtzfQc6ox2bJMSEOJ0UXq+SNWdUVBEnLFDlM9dZvOawL8rD9TdXqymYhftNKgOe4 DA0g== 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=UWd2+JNUp86NsLlHAffvHZSbLOjLXF0L5Ubgyo+ZpXAnLcXdtxQs9O4muzkZToBVte VWDVHTOiJD6Uw2ucP80WMdMHS3bkXDye5kAQASxaQ7TvDRjXE0sOGuI7FBLH+o4iTmEL T9TE9IFKXB3eOwybOYo6bRG71s8GaOxtkoX2aa+3x7CHJd7NHxmePaiAA7wrHjhxeuXd IzAR0PU9Dd2kl4zfMXCDe/aGCsyXaQjjxTmLWWLSMRb76tNpaJqld9D/YoVfrt8mQgpJ 8JzyR46lWY8MOezdoDMQ+VECo3ycFXZdZ+EE80paQzugTaAGqRicvqmw4OA44pZNJqQd a8JA== X-Forwarded-Encrypted: i=1; AJvYcCX7lRTuYMjIPrM502YCjj/EsULUlXcbomJb14ld+Xf5cfcLHRBXtgCTbG/ueEM2vEhwiWGTTHtpjnaP4U4=@vger.kernel.org X-Gm-Message-State: AOJu0YzlD5RlzUsemI10FDfYUn6SkgmMQZ9tCZ3mrJaujrlxPyLIfNXM cKOVyUk6QRsqud77ojUDoxwdl9Qb2F4tQjo0R9S4lklpBSojQ9f9e9q/8YJHB58= 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 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/d= isp/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; }; =20 +/** + * 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 t= opology + */ +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 obj= ects * 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 =20 -/** - * 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 t= opology - */ -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; --=20 2.39.5 From nobody Sun Nov 24 23:12:53 2024 Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2032E1CCB27 for ; Thu, 31 Oct 2024 21:44:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.50 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730411065; cv=none; b=m1je1tY4P6AzPNWDhR0psZtRQktwcFXizj4PPyi8Ps0NpT/WS2EgkKBZM9m3O0n7wlhClePFejBgZ+pL+8fjUK/fqzTFv9K3doREpPFYizGUrDxeDTV8cwWMXLNWIjieBprFD6hTWr0+Ot9JJXgcjIPBaZ/zr5flqyYfDvXcAlw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730411065; c=relaxed/simple; bh=EC7IGqyWyXuYvmoAr9YuRm5TGifA5Zv3WnYyU2rd82o=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=hzLAs8e5CGB3It+SmSXHrp0lRRvStRJeFACsWpFDMIlkIyq/zYG5MaxQuKI+w9X3NZzk01GkheUl2U2tw9lhBALC7eGSNb9tc8IJ5jqs2E4QS/W89/PWbXAyb0F3an/JAcgTHSWQtG2NXVtY8Pnu8Kk90hjEukFO+VhuNVLEl1U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=LiHqzLyL; arc=none smtp.client-ip=209.85.167.50 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="LiHqzLyL" Received: by mail-lf1-f50.google.com with SMTP id 2adb3069b0e04-539f84907caso1584254e87.3 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=vger.kernel.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=LiHqzLyLsL1zH/JLYrV2dlbb6CwkEig6rwBvQl1pzY/qGtIxQe1lEMQzHouLG8CHDh F4RQtqlqTlmT1ipGomkLCF6JX1gZU2hhUvDoMzZAvCoOpEsEHJw8wMNnviRqViU/Y9lZ GN0c/Ys2n4X+AIjZLU0hIuKfg3qX6toTuWKGd+VeXRSAt0NuIWAT76K+CgjLP8O73CZw Xhy2KlclOqOwZ9ET7lY0Yhn0I83A1DHfemOZREpld0dtILjR3k5pmypaCRLtJA6D+tnM vjIz0dqxi3FTfadQqc3+y7sukkvTSFRvevlXeTxxGWevOYK3YZbNCWhUndiwKimXLapd ewjw== 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=rd4OpF9e1ED+McgBXLHXlz3WDU9JsKU/WdHAD2gBwhHNiTROADzTw2AH0p0BKN6vkX nMx9AuctEyBJVkgS1OSTRZZ4l9HNXFj+R8V0ikEkd4Oz0GyLD0GlP2LRJw+5C+geeND4 eXoNIxHJowNx9CiAd6gifWztDEr53D8rkOukCHALafHePA05DbcuGnJgn3aKgY3SagVA OQNAZ7UNwsBGuMzvEK0lZbHdbWfqS9UlIlck4Vo2gGY4lLTWsXJK3brd4V/kkLZQDM9s NvRUeRolMNI7qca+rYyDftwHMVHCbI/ThJFnTRKTpKWl3RB+NAaHNYA5uTp5dLu+PFTh +l3A== X-Forwarded-Encrypted: i=1; AJvYcCWfFSJrR4fbUnc+gsX5DGQV9/GcgMwiolgPe5JoPr6cjry9M3+RDlWBlppxlvh2yA3oRk++H5PiUhbDRp8=@vger.kernel.org X-Gm-Message-State: AOJu0YyFyQye67n8jsyHDglxzI5+BX6gTIkJjqi49cP1LlHdxZbM3tL6 GI7tVtRtlAtPCsrZkMdDLEIlxn7948eylNWbDRXsVk0l5luElmuzV4AX07OCiJ0= 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 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 @@ =20 #define IDLE_TIMEOUT (66 - 16/2) =20 +#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 { }; =20 #define MSM_GPU_MAX_RINGS 4 -#define MAX_H_TILES_PER_DISPLAY 2 =20 /* Commit/Event thread specific structure */ struct msm_drm_thread { --=20 2.39.5 From nobody Sun Nov 24 23:12:53 2024 Received: from mail-lf1-f47.google.com (mail-lf1-f47.google.com [209.85.167.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 82CD71CEE91 for ; Thu, 31 Oct 2024 21:44:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.47 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730411067; cv=none; b=Bq1rwZRb6rid3VoOUCmkYCAQWVYPzKajZGmxvR2VTsvhwzClR/VbVv4UvKmTUUt/l7XT8wKvoU3c/nrZMfUL+2OQv8KBeNZ1ry3KZ1pq1azHVZLzWDqpgprYBkntk2RHUmqTDm3PSVuYTkR2AsedDmLko3C0/l3IXrabVvTiwe4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1730411067; c=relaxed/simple; bh=kwRkgGoOjzZgmKn1Q7SGF0bYYDkMueTmYikFdU7ocIQ=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HtRw36/zLFqxAbVOXjhYJOpap2L2YlG6KwMa2HHvpGUfaDaDt6wTT85K0OxNPApEL+N4rI8DIUIj59CUvRTiXXbm/i4G+BZAmPfGiYbBdXoh91VGi+uGsE++UF5f5MF06V4az22/EV8jXEB4NPxFv+L7Q4SVMiwGTfEwyr865N8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=vpyZ2df0; arc=none smtp.client-ip=209.85.167.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vpyZ2df0" Received: by mail-lf1-f47.google.com with SMTP id 2adb3069b0e04-539f2b95775so1557904e87.1 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=vger.kernel.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=vpyZ2df0k9sKY5/hWxmK3VPowrV7r3kWo+xbB3ekoSXEqjGEFnsF7aGJWDF2qK9Tea CJjNyr5RwS/Qta+IY4BzQCRvTsD2IsUpK/J2l8YkuqcVW2wlYk6f2rXJilULbIBnQSh+ 89IgfkpiF0T2bplH3OmCYLe5prYQYAHCsv+Yd7EjgDpORK/bjSC93U0uvXgzm1BLqPdC hNFTjUMApR43YriTZUnoS3lHChLxfMUJA5mOsm7gCvcjd6fttkoTCpMsW22CMZ72qBIg lQ7Oi/RAMmioKFPCQc+Q/Iqbr0fCMMHksvdfTpQ2y7aKumhnoDhEppG+jgh9eiJ+efiP rM5g== 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=i454Wc/sx+Xr7uCP4Musy1BGKaj4/TpSdgqLshsW72I/3KH/IwWbnV89Y9Uvs/WSfw GYAVd8pBtLXxdvpiSYbrp+I0imtskhGeTUrSZjw/0VK8DTmiLNRadJabCRRfQur16BsO NaKL1Th3H3hmr10ZIjIfsoW+1wDnQCp5IUihiaM0Vifk2qXqEEBKq11gilMQ2QYnQJ3C snqoo8vK9qhZAXLI3sZG4+Rsj2RwyeMQ8FhKW5xjvpwCg28To91kDsS+CvhLvdVJ8qUW dwMQduj3si3wti/+5zeO78KtW+K15s8RKt/HLoc2/dFSPpTlpnQkTp+Q6ThTFyrXbdZg OhtA== X-Forwarded-Encrypted: i=1; AJvYcCX65asMewFyDKPxkTBZ0+F1XT638bI38Ryz0YRQSi1x4FN8q5rviXcn/PpCvRAyJ8t83Pa9hx/L7qheBZI=@vger.kernel.org X-Gm-Message-State: AOJu0YxdWNL+aYC0joLX2B4J7LBjTqVRaZt8kZ6E/q+xanrirAzqkVxl ClmlaGWLPzqo+RWbjq1G5CeBmhvDdUKY3QKAV7Ca4wm4qQVQQRRbVnPqc4DOHwE= 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 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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 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; =20 #define MAX_CRTCS 8 -#define MAX_BRIDGES 8 =20 #define FRAC_16_16(mult, div) (((mult) << 16) / (div)) =20 --=20 2.39.5