Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1075673rdb; Mon, 19 Feb 2024 03:37:51 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVQR5LoTQ+5AXyXbPnjEaKvzBoaEsk0azc3inU/+DpWedZSQP1JViLKkdKDEejiBJI6Ihfmq1zpYjLRr/qNQ+7IOx2wRgBdC9EUu+17YQ== X-Google-Smtp-Source: AGHT+IF4NSN50YCeHpHruR/cLNfszrwHkVImw40H9qJcD7NbZj/LS//O7M5RWbnOekLXd3KF6+7L X-Received: by 2002:a17:906:b0d9:b0:a3d:2243:29da with SMTP id bk25-20020a170906b0d900b00a3d224329damr8366041ejb.36.1708342671750; Mon, 19 Feb 2024 03:37:51 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708342671; cv=pass; d=google.com; s=arc-20160816; b=MiQHtaqZ4ATq9oRcl8/LlAeniWp5U4nsSnH2eQdb9pQmIhyJLKgagYVzSXAq6cgKy0 QGjJ3VuRXuQMo/0Hokg0yswoMRW7GwkYt7itZjtVeA+TXz+/fyp2MPkFq5WNAOR3OkP+ XTm4kMzXNutjlNW9XCStU+M+Cso3kwBxm/w02+hLdrZFWkcmpsB2UVWLtXlhhMkfCrva 01VTqiJoWMzbcQUd28xae+On/Rn7DgpWvtvH8rrMkNAi8uOeircy7x/PHN6gzYtWtOZB yimTsoi05P0A6fxp0e/BdaVrUl2OdUMlI+iQCkcJ9oJOcOOxfrvclbcivw7KA7vz90pX qn+Q== 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=GaUyZ50XjXvDF8jY3Q3ZEC7jLE1bXKIRWKK8kFzpxxY=; fh=rjQ0oXGLYi0XlzWWJvleCVRrxnaXdwi21p0vT3Ns5fw=; b=xd9DpWAz+H2dznpKa5CENLxqr5oY5Ze7S3FTtbNLTeV6utrNl6YNbTKWpYKFEV/S+X BS9ygtMTBBkfhOzGBVEz9bD+OKKD7YVm1/enUGvVr/BzAf0rnibBi8bw3QDGFCuMHxDp a52FGxgWr3xIWzohwmN5rRIe0sL2HjfZ7SH22RZbudJHBHk29n8DF7WZU3ru8ADs5Fii bvJ+cGrqsFGwCQXG2gLJpv5u53VxClbxfEPQJNs5DynI8+BWtYMeGQW6PewrOVTTxmHP XE4X0PaIZ+BBLygr6ZiTHq3yIG4caYkquxbERJv9WVEmhlO9fLcWswHdH7wqKd0h2kiy q7Uw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RuTyl+rH; 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-71219-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71219-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id ds13-20020a170907724d00b00a3e0fdcff27si2238233ejc.464.2024.02.19.03.37.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 03:37:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71219-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RuTyl+rH; 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-71219-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71219-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 504091F21AFB for ; Mon, 19 Feb 2024 11:37:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 71FDC2C691; Mon, 19 Feb 2024 11:37:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="RuTyl+rH" Received: from mail-yw1-f175.google.com (mail-yw1-f175.google.com [209.85.128.175]) (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 080B22C1B9 for ; Mon, 19 Feb 2024 11:37:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708342663; cv=none; b=QFv6qTwwAIjUse85Tz8SGXvDZuCkgZpR1xCpe33tQPSggpz0mJ2MeL9CsA0A8KK78pD25mMjEDI1tqAjrSO5hABEqNedevfnZ+vhSTztMP76u14BBQS9vjim121zdqnkFY1x2ZneMlfECKrio91lrDl4VRMEwB59FgPjEfF/Bt0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708342663; c=relaxed/simple; bh=MqJ6X9bHhgIvnhhVNHt7I9sd6Vf8RfjTJZGaLdv/tzU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=O3VvS9tY13idAfJ/Upt8tILuctMtc4L3P4DCJJqGShL8aauxlYVujfiX9638VZM7hnY0KtsAMocxSNSgTxvsrn/KsuJ6u5oHyV9L2PCu4lk5UVBEnF0m29/RJ7/86/9rE4vLYeLoZbw0BDxIQFh1Qi93FbVdNRfP4KzaHXCqG7M= 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=RuTyl+rH; arc=none smtp.client-ip=209.85.128.175 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-yw1-f175.google.com with SMTP id 00721157ae682-607bfa4c913so38996227b3.3 for ; Mon, 19 Feb 2024 03:37:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708342661; x=1708947461; 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=GaUyZ50XjXvDF8jY3Q3ZEC7jLE1bXKIRWKK8kFzpxxY=; b=RuTyl+rHwmb3qtgZf8mBDqPfY/pPSiSgag9Ayx0TIStlBIlY71/0yoE2HgZwekCQa/ RbF0bU4DjziNq9Xi8YaMePPbRSvya9wANnR1jUK/sj9XoTsdv/I0IDw8yEC6neTk41iB MCxKbklEizqmodH198SXgbtSFiNTfeYZNlkfZi4H/Z0qmZTc/kD3H6t8v9/LTT6+wDnT sSmvVqmbHRFtEv3vWBaB5x11IC/z6MJc84Tmiz+Tswuzxc5EiGDZ2lbnKTNRGN/x63uU vkLxh9huXt65tqZFKPVDuIACp5cZ5W0uX+pvl0j4zJARIcVYVQURCOdyPHI591rvuUCi 4wNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708342661; x=1708947461; 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=GaUyZ50XjXvDF8jY3Q3ZEC7jLE1bXKIRWKK8kFzpxxY=; b=fE1FYc3+KBSwKZTl/JcuLrnlw2h7k5C+x9oY98GTpDGL1oBUreL68FQzJA6Ptrbgv+ azdms7t3+WdepIfhpdgB7gkc5BzSRj8lj33biuxx7z2kGUUNRVEElq+pCMYzA3XSI/VX ZZg6ik7Wv8hjs66007SrsqR2qH8oyrW18OhT+W0ArN+BZL1Qd01JQFj9ZyVzXhPQQkAW Iqw36v7scvRrIHoMnHWOlijgaX3Da8Q7ZjLfw/Kuk9hRr0vsB8WPUnHuvWMXqav1j0Zw pl75b4gHrpmQvVFdtBbu4zlAAyisugv0VN/SaQiBD0OO5tWJtTw/INdj36PsNoQOvgIw woEA== X-Forwarded-Encrypted: i=1; AJvYcCWL+qzK4PKd5gLWsHzyD6i2T4DPYVp643DpgYdR885mZ8IrUlIZXUHBE6/IjL0xJeGjR8JlVrfkC3nqCtZR/yhqZ6RExS1Ki8v9XVA+ X-Gm-Message-State: AOJu0YzbUsJiBvkmjJzNSolql5Q3fAnqJ+7c8//a8gKm8xB2wpZxeHSY Dii9xdWfQoEMrP3vglPnwH5KHipegYY4EgHwiKWHFtTd9m50kAvc8HGH9GmBtflBImabzPsE/6v QQnqpxxLQCbg+GvW2uEjRrd2+9P+Tts/C4nigmA== X-Received: by 2002:a0d:dd94:0:b0:607:a0cf:d9ff with SMTP id g142-20020a0ddd94000000b00607a0cfd9ffmr11328416ywe.31.1708342661019; Mon, 19 Feb 2024 03:37:41 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240208-fd-migrate-mdp5-v4-0-945d08ef3fa8@linaro.org> <20240208-fd-migrate-mdp5-v4-2-945d08ef3fa8@linaro.org> <9a4bf513-4390-3e36-f3b7-f9fef1c296fd@quicinc.com> In-Reply-To: From: Dmitry Baryshkov Date: Mon, 19 Feb 2024 13:37:29 +0200 Message-ID: Subject: Re: [PATCH v4 2/4] drm/msm/dpu: support binding to the mdp5 devices To: Abhinav Kumar Cc: Rob Clark , Sean Paul , Marijn Suijten , David Airlie , Daniel Vetter , linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" On Fri, 9 Feb 2024 at 20:58, Dmitry Baryshkov wrote: > > On Fri, 9 Feb 2024 at 20:44, Abhinav Kumar wrote: > > > > > > > > On 2/8/2024 7:01 AM, Dmitry Baryshkov wrote: > > > Existing MDP5 devices have slightly different bindings. The main > > > register region is called `mdp_phys' instead of `mdp'. Also vbif > > > register regions are a part of the parent, MDSS device. Add support for > > > handling this binding differences. > > > > > > Signed-off-by: Dmitry Baryshkov > > > --- > > > drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c | 98 ++++++++++++++++++++++++++------- > > > drivers/gpu/drm/msm/msm_drv.h | 3 + > > > drivers/gpu/drm/msm/msm_io_utils.c | 13 +++++ > > > 3 files changed, 93 insertions(+), 21 deletions(-) > > > > > > > I thought we had agreed on a quite version of msm_ioremap_mdss for > > vbif_nrt_phys? > > > > Anyway, its not something to block this change. Hence, > > Excuse me, I'll fix it when applying, if I don't forget. I took another glance. The msm_ioremap_mdss is already quiet (it is not printing warnings if the resource is not present), so this should be fine by default. But I'll make a note that we might be able to replace most of msm_ioremap functions with the standard devm ioremap functions. -- With best wishes Dmitry