From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1C34B392C28 for ; Fri, 27 Feb 2026 18:36:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772217420; cv=none; b=FVeL57UwwRSHw1Nt0AoCLBofDNBvlB0k8qkkuvPBtK0IBZ3kXazy1PnyPOTZGlLw8a5U7QdQfwSgglC9ek19/qEAoXXiRYWadE//j8tWCkRNQ4THwwVEIflbGE7CYrYGOreBN2LFFzOt5YKTA/S8PTefSxfMKcXCabJld2tya64= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772217420; c=relaxed/simple; bh=S9urinrm97a3tn0MebL8/S1O8BaYIJcXVyoMPjUkJqA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=HOIxEcnE+TkFvR+paBQKnLe3NKt/1bG5rQLUH88b/8OF9grP00LZAmqohSGy9zHoH2s8xEFMGWrCl78KrgxOGutE0ogLtCflIL+FL/RHsvoFU+M0QG92Ua3x81x7lMeppMz+7XyK5swMDlEBY3/NPdS44kSbRAhHltaTkjSx5lY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com; spf=pass smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=oQaAyuiS; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b=HVwdX58n; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="oQaAyuiS"; dkim=pass (2048-bit key) header.d=oss.qualcomm.com header.i=@oss.qualcomm.com header.b="HVwdX58n" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.11/8.18.1.11) with ESMTP id 61RH0Rch010766 for ; Fri, 27 Feb 2026 18:36:58 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= /Mm3L5n1VZ9S77ktWqS8w18v1vJNzHKjRMTXqXcL5jg=; b=oQaAyuiS9eNefbL9 tV/wqaAUhIPnQABVgId1X3R/BKe2S1gtprDUR9jRarYx2dM1inc62D9ZuDa7jJB+ 9xwQThU8pYjmJM8EeU5o7m9Ip/v85H7C4THsKP03rG0i7e72asK/OgZYFu3np0TG Jy4OfBgCY/OYCEGqLH4DFSaCJ5734sT0FQcXK0uQ3YvWUvhXpKIXq7MDz4UNm0oB FbifJZqpkcmnp5lqwKfzrESNpug2jW3j9g2v7t06P65Bk1ovydF1MWAQztZU2EVY rzcWhoTvkBPZYn/LKkEgPo5tLYU6OquYDNUlhtE9j9r66tWWDIhkhTsQI/fB05Mg T1FkYQ== Received: from mail-qk1-f200.google.com (mail-qk1-f200.google.com [209.85.222.200]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 4cjuytv5f2-1 (version=TLSv1.3 cipher=TLS_AES_128_GCM_SHA256 bits=128 verify=NOT) for ; Fri, 27 Feb 2026 18:36:58 +0000 (GMT) Received: by mail-qk1-f200.google.com with SMTP id af79cd13be357-8cb42f56c4aso2064306485a.3 for ; Fri, 27 Feb 2026 10:36:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oss.qualcomm.com; s=google; t=1772217417; x=1772822217; 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=/Mm3L5n1VZ9S77ktWqS8w18v1vJNzHKjRMTXqXcL5jg=; b=HVwdX58n4aimTnu73EmJ01r8mvkVAZpcgB46IMN/xuTZb5SWjVkSgMrhm5c7FuRjl/ iRRg2jmTpKab1asfc6WeGmliWzCrXYnwq7beVVjSDKeZ+MgHioIgT6gnXIxosJ/CzS2i Ojf0ojDAvg1WFT6suYBZsq2kfQGeEsjlWpV4o8a62jJKta3VQBUaMfCsywAoBxxILZy3 ppOp8ItdzvTYTabsDDISA9Qz4gswXqttr2sYJ4LVPQlAmcjR9gt/2RW7HDme/mlnOZp5 NMRbd8bCX0r06RXySMiykni76Vch0MbgB0QmbXsZ10l9SOMtWTQKvARaLnPdcC/VMq/t H0wQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772217417; x=1772822217; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=/Mm3L5n1VZ9S77ktWqS8w18v1vJNzHKjRMTXqXcL5jg=; b=PrhrYUlwm4cfVAV7OyCrtfifnMb/3YLyE4RYuU7EER5sufHw0TpqcupKQLBxncPvtg 74ThaThRkAHzMqEQ2Lt4rC9W8gfOS3dln0S2R08HnEkj+cGX2Hqb07w2smO8nQetn2Bc 3Qhd3xxpNIHbJtmp2Rdm+hCVJBefB/NOs7EDX500yyaTxOSYByc81Ydf91M7fo3g13AB k8TwaHqfbHxFlkOsaXQJDlNtS9wIKt20NuC6TQdUP4/BK/51MM0ijqVpNhZUbm8hI6Gq aiITfnzd68xNIPidg7KBcFG3j3PTs6rriHEmtKcme1TnzQnYnGW5Xy+ayc6rkHW/XdIo 8Lbg== X-Forwarded-Encrypted: i=1; AJvYcCWDU4V84AeX2Du3ZUZhyXn/4/1oOMaHofd7j4Cloi7OjvNzdOpOJEGdTnn0VLJ6xre8DFfe/zE4y+WNrqo=@vger.kernel.org X-Gm-Message-State: AOJu0Yx6stEc09IqlTWve4HbECDnyUNf1xH6dTxIY+JFX83af0arPR4b ozQyt2KXnG1mhyeYOFqmjvXuidpw4VWT3V05BKOX1TlYzjMKTlG/bNWS3sgP7a2hknNUltyMer8 wkLcrxeM/BGNTqviLeypYXO6+00aTUH6XGFeodBdOj2b7zU/tYoIvlO37NEgSGTdcQ+A= X-Gm-Gg: ATEYQzzcsBjQlb1ysrpS6bF8ELZysQKkWIUMdqZ8yT5tRd3ZJLQXmNQ6snYEaZZkLtv HRedS+uxuAJt+eBqU7enZna191swtmRxrVawccghsnECjJqUpBttv1izwgnbPTHotAWuz70S3PZ EdlSjkiOb63vyTj0BDslbvBLWBO3QZ/EMXR+fhbzCvV8MOnTHpppFQLTHq4OuYqGSG33wgVpUCG Km8g4Zd9dcssJXvEMFrCcywftXNwZxHwUoMGVel8kLybJLrGVrPo1pfKFInvGvqHy49wdjyfEpQ VuUmesSZJ2qEzQaj28Fp+JkIb3BXRsOFkfIFos5yIdmnhPFC0pftx/Eq5FWaRTIQfgtWBTe7xe3 AO5rp0Pr9RVIfzjUvZPpWEvRAunN6z0IJoKtldEQToQ8p9nxoqD8kbi3g8tAwbw4AQjXHku0+t7 BAS84lOYJNPpvA+5vvCvQDQpMSjnAvJvXNhWs= X-Received: by 2002:a05:620a:4011:b0:8c9:fb29:e1a3 with SMTP id af79cd13be357-8cbc8ef6bc7mr512789885a.48.1772217417333; Fri, 27 Feb 2026 10:36:57 -0800 (PST) X-Received: by 2002:a05:620a:4011:b0:8c9:fb29:e1a3 with SMTP id af79cd13be357-8cbc8ef6bc7mr512786085a.48.1772217416863; Fri, 27 Feb 2026 10:36:56 -0800 (PST) Received: from umbar.lan (2001-14ba-a073-af00-264b-feff-fe8b-be8a.rev.dnainternet.fi. [2001:14ba:a073:af00:264b:feff:fe8b:be8a]) by smtp.gmail.com with ESMTPSA id 2adb3069b0e04-5a115bca0e6sm117082e87.29.2026.02.27.10.36.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Feb 2026 10:36:56 -0800 (PST) From: Dmitry Baryshkov Date: Fri, 27 Feb 2026 20:36:43 +0200 Subject: [PATCH 4/7] drm/msm/dpu: drop VBIF id, base and name from the catalog 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: 7bit Message-Id: <20260227-drop-vbif-nrt-v1-4-2b97d0438182@oss.qualcomm.com> References: <20260227-drop-vbif-nrt-v1-0-2b97d0438182@oss.qualcomm.com> In-Reply-To: <20260227-drop-vbif-nrt-v1-0-2b97d0438182@oss.qualcomm.com> To: Rob Clark , Dmitry Baryshkov , Abhinav Kumar , Jessica Zhang , 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.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=3909; i=dmitry.baryshkov@oss.qualcomm.com; h=from:subject:message-id; bh=S9urinrm97a3tn0MebL8/S1O8BaYIJcXVyoMPjUkJqA=; b=owEBbQGS/pANAwAKAYs8ij4CKSjVAcsmYgBpoeQ+CwjYEc896d2hqJ0Ee+odN7dBHl7b7AB91 cdjqFd6Y/WJATMEAAEKAB0WIQRMcISVXLJjVvC4lX+LPIo+Aiko1QUCaaHkPgAKCRCLPIo+Aiko 1QvpB/93wIfzoBNtsweJO61t0aiG5sRt2DjU6qiftXksBsD+WybqC+nfFt0/2bfKmfbwLTchMEi glGWAVbrB0UawhV4IgxHKZ34/FXiYDbOO6TacVTb3zswtkIvwMgYS/j5gS4mk6Da7EQY7eavbaQ aTxWXkGOMSoXzXSRjHdGIM5jvJ7FrTd7EysRqDVdZtUbbRBhh60HiKx7+lOCNw349u55WvMYsfr jMtJHWJ/0M4Eh3yRhWNc6ersyJyYCeCU5A7eM0xOrWu9pmHragRiCWHbAuvZoeqB/ItL+QsHbtN OXlPqlnMSbvaapdqMI9mhKSut4v1UeR8/TVc1hSYZottX/bB X-Developer-Key: i=dmitry.baryshkov@oss.qualcomm.com; a=openpgp; fpr=8F88381DD5C873E4AE487DA5199BF1243632046A X-Authority-Analysis: v=2.4 cv=bJIb4f+Z c=1 sm=1 tr=0 ts=69a1e44a cx=c_pps a=hnmNkyzTK/kJ09Xio7VxxA==:117 a=xqWC_Br6kY4A:10 a=IkcTkHD0fZMA:10 a=HzLeVaNsDn8A:10 a=s4-Qcg_JpJYA:10 a=VkNPw1HP01LnGYTKEx00:22 a=u7WPNUs3qKkmUXheDGA7:22 a=3WHJM1ZQz_JShphwDgj5:22 a=EUspDBNiAAAA:8 a=6fVEOi8AC71Pdc0kXHcA:9 a=QEXdDO2ut3YA:10 a=PEH46H7Ffwr30OY-TuGO:22 X-Proofpoint-ORIG-GUID: t3IcO46wiOKlPJLgYGzMFmcCGJuaDhRU X-Proofpoint-Spam-Details-Enc: AW1haW4tMjYwMjI3MDE2NCBTYWx0ZWRfXyaiOSQQ47Mp6 cJwrgBGqp2gUXhc34lUD9mw8tAAroSFPMr4vH6ojKmf/Za24TmW1v067tedKliIlwED8JKfyxCD NMSGnalNKyO1m00dCI2pj8MjQry8VtsLAq6aQyR0knwAuxPas1JkmeerDmBr/uYAx5dN5B07rA7 RNfwTi+rTqq0ZFvKvkRrWzMmE4DXR2VZufeL9uem0HmaUV7/cqXN186X08irSgo7yLh1ty+6QT2 ixHB0PHaRafvqBDjaziLstEkJTeIqt2s9dkGlKdtQVaq/cKhEejO0zkkdFmyEqwa9+rUFxkUSIy QCYqHSDk/Ss9q+3KqyBJIIXr1rNn36j11fvAwd9KCWHCSoeVR/z7ICFZ8LfBA1YmQxIgIk4w4W2 3RBXFLRpTgFt0MrU5ixDOof/Q1OIG0G49dpmmvO9F+klqNTlau95tVZWAzR9v+uvv2paHPNI5be zMvji9n0rFBGO5R0Paw== X-Proofpoint-GUID: t3IcO46wiOKlPJLgYGzMFmcCGJuaDhRU X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1121,Hydra:6.1.51,FMLib:17.12.100.49 definitions=2026-02-27_03,2026-02-27_03,2025-10-01_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 bulkscore=0 adultscore=0 phishscore=0 suspectscore=0 impostorscore=0 malwarescore=0 classifier=typeunknown authscore=0 authtc= authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.22.0-2602130000 definitions=main-2602270164 For all the platforms VBIF id is VBIF_RT, the name and base are also fixed. Drop those fields from the catalog. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 15 +++++---------- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 5 ++--- drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c | 4 ++-- 3 files changed, 9 insertions(+), 15 deletions(-) diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c index 94c70b7b789e..35c75e11fe82 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c @@ -514,8 +514,7 @@ static const struct dpu_vbif_dynamic_ot_cfg msm8998_ot_rdwr_cfg[] = { }; static const struct dpu_vbif_cfg msm8996_vbif = { - .name = "vbif_rt", .id = VBIF_RT, - .base = 0, .len = 0x1040, + .len = 0x1040, .default_ot_rd_limit = 32, .default_ot_wr_limit = 16, .features = BIT(DPU_VBIF_QOS_REMAP) | BIT(DPU_VBIF_QOS_OTLIM), @@ -540,8 +539,7 @@ static const struct dpu_vbif_cfg msm8996_vbif = { }; static const struct dpu_vbif_cfg msm8998_vbif = { - .name = "vbif_rt", .id = VBIF_RT, - .base = 0, .len = 0x1040, + .len = 0x1040, .default_ot_rd_limit = 32, .default_ot_wr_limit = 32, .features = BIT(DPU_VBIF_QOS_REMAP) | BIT(DPU_VBIF_QOS_OTLIM), @@ -568,8 +566,7 @@ static const struct dpu_vbif_cfg msm8998_vbif = { }; static const struct dpu_vbif_cfg sdm845_vbif = { - .name = "vbif_rt", .id = VBIF_RT, - .base = 0, .len = 0x1040, + .len = 0x1040, .features = BIT(DPU_VBIF_QOS_REMAP), .xin_halt_timeout = 0x4000, .qos_rp_remap_size = 0x40, @@ -586,8 +583,7 @@ static const struct dpu_vbif_cfg sdm845_vbif = { }; static const struct dpu_vbif_cfg sm8550_vbif = { - .name = "vbif_rt", .id = VBIF_RT, - .base = 0, .len = 0x1040, + .len = 0x1040, .features = BIT(DPU_VBIF_QOS_REMAP), .xin_halt_timeout = 0x4000, .qos_rp_remap_size = 0x40, @@ -604,8 +600,7 @@ static const struct dpu_vbif_cfg sm8550_vbif = { }; static const struct dpu_vbif_cfg sm8650_vbif = { - .name = "vbif_rt", .id = VBIF_RT, - .base = 0, .len = 0x1074, + .len = 0x1074, .features = BIT(DPU_VBIF_QOS_REMAP), .xin_halt_timeout = 0x4000, .qos_rp_remap_size = 0x40, diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h index fda4f3bdd797..38280d776c72 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h @@ -587,8 +587,7 @@ struct dpu_vbif_qos_tbl { /** * struct dpu_vbif_cfg - information of VBIF blocks - * @id enum identifying this block - * @base register offset of this block + * @len: length of hardware block * @features bit mask identifying sub-blocks/features * @ot_rd_limit default OT read limit * @ot_wr_limit default OT write limit @@ -602,7 +601,7 @@ struct dpu_vbif_qos_tbl { * @memtype array of xin memtype definitions */ struct dpu_vbif_cfg { - DPU_HW_BLK_INFO; + u32 len; unsigned long features; u32 default_ot_rd_limit; u32 default_ot_wr_limit; diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c index af76ad8a8103..de70d6b00972 100644 --- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c +++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_vbif.c @@ -230,13 +230,13 @@ struct dpu_hw_vbif *dpu_hw_vbif_init(struct drm_device *dev, if (!c) return ERR_PTR(-ENOMEM); - c->hw.blk_addr = addr + cfg->base; + c->hw.blk_addr = addr; c->hw.log_mask = DPU_DBG_MASK_VBIF; /* * Assign ops */ - c->idx = cfg->id; + c->idx = VBIF_RT; c->cap = cfg; _setup_vbif_ops(&c->ops, c->cap->features); -- 2.47.3