Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp272625rdb; Thu, 8 Feb 2024 05:46:53 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWiaybgrwnNvBEZG7DAV/bfeiez+MnD0ZRefJHxP0eh5s2U5ZhKdgsZalDQvi/WpzSfR4LL6rrxVdxP1EIRrd6aO8ufnj2yJtmnGZ71RA== X-Google-Smtp-Source: AGHT+IHMHMchOZTC2YMgxBmhIps4EDTV7823FQYgFFQVzAsxhWNzOfKPRRnm9FDMluMSgBeCrMPE X-Received: by 2002:a17:906:2898:b0:a35:fdf9:e7e4 with SMTP id o24-20020a170906289800b00a35fdf9e7e4mr6450215ejd.20.1707400013239; Thu, 08 Feb 2024 05:46:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707400013; cv=pass; d=google.com; s=arc-20160816; b=SJTeNkSj+qD0I+FNGYAculPL08Eg0KBp83n16wL5a9Cw+enc45AgiGfDDZ66KtCjhF M44YtpkyvZn2+5HWgnGDlhTPSt2sggRzD1izu2XpBDPAEywmRvKALBnDooMOJiLDEWVu hvf9jbfVDzHFMn6nQ9m/nvn3Yt+OSiF/fN8H0bzvU3StuyOrcVK5VPd+W4ba6WCNhCbA Xy3qXqaE0Dj5SmTxOnmCsBK69JvhOj0RSXM7oJWV/t68EsU0t5RuxRUnLyiKyc6/oYU9 pLW6a9eUS7gXrZMu9L0ca0Kk4tdcYfc0U1W9WFhAuKJufSVu105c0M6o00e6dKgyD0xZ dfEA== 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=ScIY/HfFAFC0b03ICHw/iCduUDonnVRODJKogMNZR60=; fh=cHzRBbzw96rpd4aMXb+SNhrVzs9GGTgKAHciEFhUbYk=; b=z+wLL7Nd6q2agTq058d9XUls5ifqqcvjofzGAZt1mtUfAGA6KTu+I73bhNag4VElRy ZUs/I2DEUytgiNZxF07BHPeCfIYrvbmj9rAyrE2J3VuAnn2YiJe3ENKhSkjjFiNJBnDq QjbACIX5Qmb148U8mF+Wcay7Ffq3qGJ3Wjwc7OUopyw/ynbAJoe2jbLlTYG8dIvzWVWG ewbr4RtQZUDqnsVW3rhKifKzwmcWHnL0lqFwWL09XhnwrML9JMURbpLeyGMKszdg5rPi bCqUVyCJ0WnpZR8hPR1atAogSunJwtjPw3jz5lYrzSnPEmwNIAGLvp3RJf0L52H3XiDR ozYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jvii8+3B; 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-58171-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58171-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; AJvYcCVc2qdGe0zkss0NoB/abLxDrKfCfuoZwytffVOVqIZ7bArlWb9qm9oiSLvnl7M/efvzqrv1UjdLiyENAybU8TwDZOK8QJOHUj+eBGB0wg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id yr20-20020a170907335400b00a23619be213si61825ejb.159.2024.02.08.05.46.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 05:46:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-58171-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jvii8+3B; 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-58171-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-58171-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 am.mirrors.kernel.org (Postfix) with ESMTPS id BB33C1F21AF4 for ; Thu, 8 Feb 2024 13:46:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8F39078B4E; Thu, 8 Feb 2024 13:46:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jvii8+3B" Received: from mail-ed1-f51.google.com (mail-ed1-f51.google.com [209.85.208.51]) (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 736F176C8C for ; Thu, 8 Feb 2024 13:46:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707399994; cv=none; b=LQ3jJBwC71n3SOF1CYvsoz37KZpa5QCcxtXQgP+WTQyzyR9yKypuldtqia8x65dhIqA0Q5iIozkvhZZSQmeqFJAdy13Z5ENeXnQqUnapZH8hJlF+yIUj0x0eJZVF/wp3+NPqmvLpYH5xcGMN5tPx2uGD7vuVP3CxQhkGZwRu9MI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707399994; c=relaxed/simple; bh=lF+yxSOPWGF35LeJdi8CpHgk4xj8DU4x5B94UDcHEP8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=YHVC6BgVVIBI5lXsI0Gkd7gCmpkvQjoolVRC4I9CdW7W3F8haP2hzfQxM8UEVrXVmVOdM8aR0cB5eK7LiSaemgeob1+xBQRIfXjUXho69YTo6/uY8n7TXFC8UtlbI1LgFHCEza3CM3FRM6qrCLK8ayRoOXazCimg9eVZYEBp+Cc= 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=jvii8+3B; arc=none smtp.client-ip=209.85.208.51 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-f51.google.com with SMTP id 4fb4d7f45d1cf-55a179f5fa1so2323932a12.0 for ; Thu, 08 Feb 2024 05:46:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707399991; x=1708004791; 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=ScIY/HfFAFC0b03ICHw/iCduUDonnVRODJKogMNZR60=; b=jvii8+3BP1xuY0NJ9l1qkMDzQ4lFmR1me6qtK+n3PfopxGWQzknotaDpWgixDeOjFg NvgFBDmpx/WG9Ih2DHbYf8hmG4cwr0dBeaEF1YSzCcOY2ZAdhCLfJtvxSdEHp6qTa5BC 2GnsJZO2LzH9Y7dFVooVZ8RjC7Qc4B+02IaEcblvIISIUcZyE4C0Cp9zTXlN9CWVd5wM +KPGfLhDQ+k8b74xRkaBwNLgQWvNMlP8r7U8k2GBegylOc8sjTR9RkTUog5BtlDdFcjF v5gl+YBiRg0M5pdrHddpeWhy3Gziv0cPsuyQo2AooZ+ek0NgeXSQNKlYhFfFYV+pJGx3 r8uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707399991; x=1708004791; 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=ScIY/HfFAFC0b03ICHw/iCduUDonnVRODJKogMNZR60=; b=nRH+yBcuG5HcWi/aS9G/0WE6+SvrXmjC0XjIa0ujS7jSTmdpaWo86W4yB28P0gGH3V Cr970wNKuuRBH4HZbc+82tS7HXehUSUQbEmCiwsAjVJMSjKXeuDsGf7pEMAE93ytR4x7 D6ImWtw/1ihyRXOvoMXvMsRdZSIUUv8AN2xakIyQqjUNVeguwqjPjQYU8/U4yV5WtFpy pzovOs8HAtBPEmKFCVyosk3MMg5/tHD7opSIqnUwT9QAMXOZMT9WyQjTw925mzYKmVAo 5m2KSuxpHB+ZUCTJbsMIRIKZRk/4bETw+8gZe3/1tVlBrJ3kbEAcGlvTq/ERVnCp572W nuwA== X-Forwarded-Encrypted: i=1; AJvYcCVSJhIzE8JoKAyS4ErSL27rl/lfj3ta0KxqxafX+p4OS4ycBcumn6B0KjUmGZhHxJMkkzcM0WEQU5+PlzFHqQJZNC2tIad6uEvHWUBW X-Gm-Message-State: AOJu0YxfVLy+AvENB1jM/keDaxiyuxhG7ftVRY6oZFxzCBGeKCiFbGBj efRKB26Qmzh6gqycGTnrTh5hfR1AAf9iekD3r7N5fb+L1jYbaERKFMgQ/VOZACU= X-Received: by 2002:a17:906:1301:b0:a30:be5e:c8e7 with SMTP id w1-20020a170906130100b00a30be5ec8e7mr6149015ejb.44.1707399990675; Thu, 08 Feb 2024 05:46:30 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCXHgo6p4vMeqamFxEUAZUBJTOGpfgaf7zXt6WvJjoWOxUuHPxt3L0HDV+aOXE8Ee4nigmxEyNtLEAVfjthhf3+6/6j7nMxe2NUNLrQjGUvDL7NwX+0ZbVlmeUeLbAVRjlF4JcOA+dhsDAiRj+AGdswPXrjhdZ+oLhKmL1F6APFe86LCXRrI/kmODJrSFskXiJXcxeSBdjbTX/pL2J0NoOTP01h7cz6CbeCBWGkHiXnPA9glRi14it47kfnZWnOQ1I7HSBq4td6n82iw/n5i0zDrYjqfMJHDF064Tr0L3Xahs6cpMZ+SFWPgOjLvngZFTx05Uoshk+uA0B0guYxoY5fWTLgNRSj2e8cnaY5hAiR077McfoandG+LW3Qn6O5IMtINkWa7pHh6ApPC3m5ov8BxMF0dJ5i5vzh+1ghmbaSWGINAlrAbKQ4kylfhGdLMJF1w2tlVpjml2q14i7SeLHoIHbJAUNrnuNf2lp5fQITZ2kqXu8PfUsXBl6/Q1W6cZTHd+YlBvyYUP40BNvVfX0YWtqbD7nC+y9QuEkVxKt3/RC1qk6HX/KTtqPSgqqQ5cRJpeLR4kVwEvF/yy8MjY3rAVvzUdQUyEGnWTiDNnYuiU7z+pOsOzKx1z78/96YllhRuTdqTw1sEK+iE4Q== Received: from linaro.org ([62.231.97.49]) by smtp.gmail.com with ESMTPSA id y15-20020a170906070f00b00a3729ce6321sm53206ejb.166.2024.02.08.05.46.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 05:46:30 -0800 (PST) Date: Thu, 8 Feb 2024 15:46:28 +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-02-08 15:42:04, Dmitry Baryshkov wrote: > On Thu, 8 Feb 2024 at 15:37, Abel Vesa wrote: > > > > 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. > > Please add a TODO or FIXME comment there. Sure thing. Thanks. > > > > > > > > > > +}; > > > > + > > > > 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 > > > > -- > With best wishes > Dmitry