Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp285220rdb; Thu, 8 Feb 2024 06:06:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IHO8rmrK/oohyign5cU5D5lTGzUex7WSdaywCgaQ1gZJFi7kw1xN9I3kQby/zYY7Xa14ez2 X-Received: by 2002:a05:6a00:2293:b0:6e0:5e78:7509 with SMTP id f19-20020a056a00229300b006e05e787509mr6626385pfe.31.1707401194344; Thu, 08 Feb 2024 06:06:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707401194; cv=pass; d=google.com; s=arc-20160816; b=HQvY2ZHQ4Y5eu40f6nwBiW6eqLM+r+tfihewUd+0cfEjbBjPq/jS3b6gVVxrO1r1Kn XWZFt2zvwww41Y/2lOJXln5aWOTaWRgm/aSVzCyToeyNAbdZBMx54PZgxWO0n7XNLC7N ib9Gp23DfwhlI3FmHzIsRRVU0NsV6N0M/m3VkBEtnalEWoo0rThRH98sFl4bAaN9MlwT EcDGUdZh3pw8nEIinGAmpftCXFBUjVOmZ8GYHAyQyX4rSotOWS01TawM+rOw235VW940 cTMz+36yPwh7fd3JPP4ngdwLqJaAFlekF2zzaXTqIV0OLi6MKbWGY7mxyK0BbkNGkDlX sHpQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=p28vv63s2/cv9zUdQKuXCFX/dJkkk/3pPlOtbrZYMXE=; fh=Fiq7felLAJsCPKjs2Z54hKVDlxO8Sc6xJOkSz30hnrc=; b=tyI5LLwv8CMTFRcrPDyrCEc2x6LnvRUM5EgZ8x3+VMmEcieXSx2slfznBSjbTD3uIm koWvrgJvrBaVxeBInTwZF9rAHvjbztbQiTyFtB6IW1LUOudRE5O46HwbJpbH61EARViB ZonjlAcZAYQXWawNhMpsgB4QDuhgtANjTJiygHM+cf74xdVAj6QvQJP0yJYwIfty6WJb zom64x4PwVOs8M4TQXZ2xW5Ggh7BVH6MH3CnB3sr/niL8/Rnc+RX7iW/kdhCDkKlBIXX TQ9/D6nNkOMKIIdZ7kTYUizBxo2qv/wqp4BjEg/Si6NKH/YySKjM+omPLyl7+Mj9rm5V uMNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IJE+vHof; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-58160-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58160-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=2; AJvYcCUWFEIO7Z1PPCPUPhxQ8/YDNDT/CamXngHumCFPd80rD1LSsZyJR5ar8cG+4WOLuKUtkbD9kMS+JBAn96cSoxFaTbwz8F36M5o2YRpwWA== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id fn1-20020a056a002fc100b006e02ce964b9si3906031pfb.371.2024.02.08.06.06.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 06:06:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58160-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=IJE+vHof; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-58160-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58160-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D1A75B229B3 for ; Thu, 8 Feb 2024 13:38:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C466376418; Thu, 8 Feb 2024 13:37:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="IJE+vHof" Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) (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 1BA86763EF for ; Thu, 8 Feb 2024 13:37:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707399476; cv=none; b=GxC0SN/GRfeD+woiyI8h/meMpVTurL5O666EB0EI0XV0ypsjxY1DBCyy4XhsyccCI5ufOw9IJGZFtPb6Be5eGpByq9HLi2zxtTg/u/5Hj/S7OUn2Vgsf3kvID7FVzEgZzopFbJfnY3tXChb2fsSo48K2fc0pW7N3pTBVjtF536E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707399476; c=relaxed/simple; bh=sLHaNsZhVrwA4g8QeNjpXSri5z5j7yj78v7VenZiXNI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=BtuHslErWxKdhaXe7irGxmNptrG9HBZmuNprcqQBHzS7n88BhamS/eQ4AEWykj10MvTl3SB5948y8BPlrk9f6XUxZdKWJ9h4NYayKH/GMSFRzXujQp8W3kY1o53FiQO29pu5Lp5++3P4Xcq1hqMF9Gb+15leBLh37VXhHs5gnD0= 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=IJE+vHof; arc=none smtp.client-ip=209.85.208.41 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 Received: by mail-ed1-f41.google.com with SMTP id 4fb4d7f45d1cf-55cca88b6a5so2140191a12.1 for ; Thu, 08 Feb 2024 05:37:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707399473; x=1708004273; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=p28vv63s2/cv9zUdQKuXCFX/dJkkk/3pPlOtbrZYMXE=; b=IJE+vHofhGlBr+vp8qPSVHcKSUA1Ab9fBb5P0Oi4rW8PTMKrT+K1H8L4w8RIFqTJ2q MmPrAa0DJGXZDbYFKBfB3HkmTOXu97UL7Z6S0PrXK7V0NrSkJ8HlRufDrypU14C9BC3N bSs0XFsPdD4zXLEM4mxB452ckpTseQH0Gc3XUI0EvKqw7yYzGHNWCrS0CKm9sAjvEkoJ c/QnOrgA3XTLEsyTOvAwb5lq9C383dTylAbSZ7oGu5HHZxR29t19Ucx1j/RtHPba49Er XpbSfWIXXEVw99OUrJpi8eju3tk8lQlITEWve2ztWPJeydeY1MnxNKJu04AsL6QZc+3F 5RXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707399473; x=1708004273; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=p28vv63s2/cv9zUdQKuXCFX/dJkkk/3pPlOtbrZYMXE=; b=jVq4xatNlyCUQWQGv34WDgk2ymfYqBuiLShrHzgctkyao7sH2o+/21DN6M7gKmaHQ9 kJZs2gETrkdeSMfwq7Kfp9JL1aI5Ga+bqQJjNI3c5yoi5Lh7Rs5/tvHzoSAAgtmLMouB /bAyzosuje59yKnroGf1fFz2tTKafaPePO6gkPGK8dr5GZ97YZCqaxAkWXL1REoClrV5 BkC+q4a8BbfhAZwkM7YBgs7UjihM2rcwgoE91SGns1RYSJ6ypwkwgtXlEEjuF7HM6GjT nxtMDICRZw4kydonTV7WibNFsDX0uzf5+K7UYaveaR6cj8IT52h19DBxeE/HWoZUMhRf bWvg== X-Gm-Message-State: AOJu0YwSv5FpucrVqPQbjkTrTZ+GvpzSghCw2JuflFrdzl6ppRqj4bgU oTzO0ydyal0tkkR1NfHbsehCC2kujNfIWxqx0/Va7VbkYIa8hbo98mAH9567s5I= X-Received: by 2002:a05:6402:322:b0:561:123f:a98f with SMTP id q2-20020a056402032200b00561123fa98fmr1059559edw.24.1707399473378; Thu, 08 Feb 2024 05:37:53 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXRIw9jXsWnTERowFWcTJ0k/8IDzNxP1SXRPVN3mJF3KKZEqIsZc0PMSakI45/4EZJ0p3Mgc4IhE0Ye3F2hvLSYLGrWdUJyA6cYS+kqh0dp7G4e9IbWst4U9GW9yemCzPUhZW4PpkN8ZZiSMMrzjNcVeOO+mFyO+vlX3PcQcHOT6CcFs6qsAt2iHlFU/G0x9/SqyMQM5QuHpAOLN0cvW03GUFNcuc4qux9c4/zdghGh186h537IYCtYA+Tqr4vLFHnytths282McRT+p4Oyfsu853wSYw4pBSEZNn1Je+kZdw7QjwitwhOkuuugDQMxXLddDQthywjrNS9LkHim7ZauTOpCa8cLs7EE/asP+4Inc3N0B48isV0so6q+nYdUjnDKNtDRlr/ANc18VzrIrZUhH/zDdjsUF0DTKK4G1NrvjEcCRlC6Od1inTZPw//0lHbHTkp8MJu39aatmMXowyyy3pCRKfBDa9xjQVvdKV4B/eRLwVX33eYZprycBpdniM31hbBJgU1onF180ALj47HGFPA/ez/DMepBiVbelzpbcFKzZMT77MEma4SWhdL9EHBHJ85rCpiHRZAWTZZPmxpZJdzkXEmWfo5KXfdz1RZ5FVbD0MzCQBNNFsEgJNw3CBpk0Vvfo86oOXWcIw== Received: from linaro.org ([62.231.97.49]) by smtp.gmail.com with ESMTPSA id ev12-20020a056402540c00b00560f611ce2bsm813058edb.10.2024.02.08.05.37.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 05:37:52 -0800 (PST) Date: Thu, 8 Feb 2024 15:37:51 +0200 From: Abel Vesa To: Dmitry Baryshkov Cc: Rob Clark , Abhinav Kumar , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Neil Armstrong , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] drm/msm: mdss: Add X1E80100 support Message-ID: References: <20240129-x1e80100-display-v1-0-0d9eb8254df0@linaro.org> <20240129-x1e80100-display-v1-3-0d9eb8254df0@linaro.org> 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=us-ascii Content-Disposition: inline In-Reply-To: On 24-01-29 17:11:25, Dmitry Baryshkov wrote: > On Mon, 29 Jan 2024 at 15:19, Abel Vesa wrote: > > > > Add support for MDSS on X1E80100. > > > > Signed-off-by: Abel Vesa > > --- > > drivers/gpu/drm/msm/msm_mdss.c | 10 ++++++++++ > > 1 file changed, 10 insertions(+) > > > > diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c > > index 455b2e3a0cdd..eddf7fdbb60a 100644 > > --- a/drivers/gpu/drm/msm/msm_mdss.c > > +++ b/drivers/gpu/drm/msm/msm_mdss.c > > @@ -564,6 +564,15 @@ static const struct msm_mdss_data sdm670_data = { > > .highest_bank_bit = 1, > > }; > > > > +static const struct msm_mdss_data x1e80100_data = { > > + .ubwc_enc_version = UBWC_4_0, > > + .ubwc_dec_version = UBWC_4_3, > > + .ubwc_swizzle = 6, > > + .ubwc_static = 1, > > + .highest_bank_bit = 2, > > + .macrotile_mode = 1, > > Missing .reg_bus_bw, LGTM otherwise Dmitry, I do not have the exact value yet. Can I come back with a subsequent (different) patch to add it at a later stage when I have that information? I see no point in holding display support any further since it works fine with the default bandwith. If yes, I'll respin this series right away, but without the reg_bus_bw. > > > +}; > > + > > static const struct msm_mdss_data sdm845_data = { > > .ubwc_enc_version = UBWC_2_0, > > .ubwc_dec_version = UBWC_2_0, > > @@ -655,6 +664,7 @@ static const struct of_device_id mdss_dt_match[] = { > > { .compatible = "qcom,sm8450-mdss", .data = &sm8350_data }, > > { .compatible = "qcom,sm8550-mdss", .data = &sm8550_data }, > > { .compatible = "qcom,sm8650-mdss", .data = &sm8550_data}, > > + { .compatible = "qcom,x1e80100-mdss", .data = &x1e80100_data}, > > {} > > }; > > MODULE_DEVICE_TABLE(of, mdss_dt_match); > > > > -- > > 2.34.1 > > > > > -- > With best wishes > Dmitry