Received: by 2002:a05:7412:d1aa:b0:fc:a2b0:25d7 with SMTP id ba42csp446419rdb; Mon, 29 Jan 2024 07:11:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IGSF+nKph32DRyv3owv31g4eMbehemCEQg4bOTdEJ//fIP+UZE6Nnej5Ak40yvreZ9azWS6 X-Received: by 2002:a05:6808:2f17:b0:3be:84c0:4914 with SMTP id gu23-20020a0568082f1700b003be84c04914mr258376oib.48.1706541108372; Mon, 29 Jan 2024 07:11:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706541108; cv=pass; d=google.com; s=arc-20160816; b=QMXJfEpDYMDiJUNHVJ/ZATtSvYeuFC8TnommRSFcd4fF1+7cTt3Kjxe1CuHfIOIstM xJM/+DoOsmEAmssc/Bho9UMU6UfSuEE9+udIWs0IzB8qyujla4eh2bUUYMKo2CfsN5AN eHRfICwcbkZCYB/opL/DrgMbzEn4VQc+GThYvcRHd0MnrrNnfSs30jNRKfihdZE0T+3K GDFoAfjhGlQy7BwCaTfOZXbUUXtduhM6lEmSCVjmmcka2W8H/uwWQ2PFHjuVXXZqlSDv 1BriK91sO+kblR4xXK2YFSGYSvBZuMjDThhGglc1Wyduod65joP1TgGsQP3o7lvqizy1 R3JQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=bzxGAI3uTZ4t8Yu0tkeNdDJhjt+ClUZzfi+ZIweVgvk=; fh=+ni++ku/0BB75myS+ht3VRzh1SUPvgz2aIY0AkEtZb0=; b=x85Cqj7CRnRVvfj4fAOQrA5V/PV/DlvYO6iqztnspdBEEDMhxOTfI8TjwoMo4vBFVJ p1YR22nQclKcxy7euFtQrRhn+4lYDzbUZbZ0xYSRzyfuNv8D9xCPlLr2slYZab2CmQaV ZYOBc+whiqlsp84xaSCxmnTPKmWOwo6b4+PLb5fWRgBAjjKUtpSmW24egCjKQIpp1Lsl QUMmh3lfB8fm5PJVz29ePrqkcImmj5536MKkniBUgk2FQ8KCr/6Jt+CrSibsM9ItLWO9 7cJAehMu40/CdkLnmS/ABVfyVqbMM6YCbmKJav6WnEHA49+FK2cUyqCoE/YGus6tTucG ylAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dhpoJEei; 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-42967-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42967-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id q26-20020a62e11a000000b006d9a571a59fsi5881281pfh.145.2024.01.29.07.11.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jan 2024 07:11:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-42967-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dhpoJEei; 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-42967-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-42967-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 098A428DDAE for ; Mon, 29 Jan 2024 15:11:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 89E9815351C; Mon, 29 Jan 2024 15:11:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dhpoJEei" Received: from mail-yb1-f176.google.com (mail-yb1-f176.google.com [209.85.219.176]) (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 2D66B1534E7 for ; Mon, 29 Jan 2024 15:11:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706541099; cv=none; b=AgVqD2Xxl2EE6TsEdRydhGg8xXEwFtnrcwkpqGvUNSXjY9t96Ja3XokDAFSMGsIOHMKIvmwpI/c9LF8pZwRyl/NC9N9yE6CJnUjxIibB2D5SZbmmpkQH8EqOejts0BhuhUBlMZhs98asDgDoMUV4gV7lEvwzVh1x2T8RQ24Cufo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706541099; c=relaxed/simple; bh=9nsjKbF44TZVOpRRhZM1tTFEG6Q2yx+wTpzjkefq/BU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=jTdcGIrKXP2G5HPVP9fkFJAuh1QtBRgg/qCDyDTzj7yBa3oxSeOD0wU/vz6TUYbHf4VhzFBOufG5aohB9+90ma+j1NCeNEshZb/TB52E9mLJ6jZMOoLvoSY5oEubGjLd50LkSw98e2kr2FVQrTeuukrgbdOjKn7wBCJUpHiEiIU= 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=dhpoJEei; arc=none smtp.client-ip=209.85.219.176 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-yb1-f176.google.com with SMTP id 3f1490d57ef6-dc22597dbfeso3594500276.3 for ; Mon, 29 Jan 2024 07:11:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706541096; x=1707145896; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=bzxGAI3uTZ4t8Yu0tkeNdDJhjt+ClUZzfi+ZIweVgvk=; b=dhpoJEei9DOtTEllCvaH9j38QWx9poPJhpgV3TvC4Zo1D9/0neIzuRd5+f2iLicbIM kY/9E03vPdupbEMBcb8mntVTRBiBKjsDn+Uu75nBb0M5COTaY41oz/Ukji+H4KoDLTOd XXTV0yk/sJ8g6BLSykSS59rcTYVYdprtvowfEm/tB9rWCObEBATxoCLWv0FvxKRWvsdn yu4OPz/ZASPt/Es601yFVsnBR/FWOgeJJIyOrQ5joMzGs6SruNMatFMDs5wQeOlWABu4 8lKVBTVNDG3X334w+KV3Nnpfw9MS1O8LbMW7gy/rvS2EmwDpXTMltbbEQ4unEXH4Ljqr K7IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706541096; x=1707145896; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=bzxGAI3uTZ4t8Yu0tkeNdDJhjt+ClUZzfi+ZIweVgvk=; b=d1ZvnPOw7eZznVi3mOAq6Y+TsjU1CufzbTfYuaI4PwkDOMUvzWKvMjxSnW1vbqXEAt eCcczzFfKATsdzsZalR+octVh/4PXBxPMOy35e6VxKlrbr0N6+qkCxzeGdk18LeXHLew Q60be8av2OAFJnnoWdxScnv28zSaJyGuajY1BoJoZaGg2BMMcIhLP36VyiW9BN7gBqI5 yJztJjfY0iw4NuqFMiVODX/PiglOt2cpJOTU2HqDbyTSSwqm2jAXb9odG7iK8K2IwH/y w+nGDiIDeOFgn5Csuv7vgzTyb9yQEtpX78+wN+7TIdvmjrQ3/KNM/lTFkm90nEAHBX9N FeTQ== X-Gm-Message-State: AOJu0YwaVQC2/p0yxXiKqnDRH30Ei4lM40rAEEAjrZQrE0nxxb2XyHu6 oAshMkzSRKQLpPldnHECMx2o2Hj20vf8C06bNpxgSUCvKP4p7S7ozYALSX/bZpeK2NdJPhtpF5C gCZ3ktzDdwgezLP91WMViyDfC8j/qhq8g9qN4UQ== X-Received: by 2002:a05:6902:2808:b0:dbd:ac60:bcd4 with SMTP id ed8-20020a056902280800b00dbdac60bcd4mr4890852ybb.75.1706541096178; Mon, 29 Jan 2024 07:11:36 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240129-x1e80100-display-v1-0-0d9eb8254df0@linaro.org> <20240129-x1e80100-display-v1-3-0d9eb8254df0@linaro.org> In-Reply-To: <20240129-x1e80100-display-v1-3-0d9eb8254df0@linaro.org> From: Dmitry Baryshkov Date: Mon, 29 Jan 2024 17:11:25 +0200 Message-ID: Subject: Re: [PATCH 3/5] drm/msm: mdss: Add X1E80100 support To: Abel Vesa 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 Content-Type: text/plain; charset="UTF-8" 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 > +}; > + > 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