Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2038200ybk; Mon, 11 May 2020 10:20:37 -0700 (PDT) X-Google-Smtp-Source: APiQypIvGVUe1Hm3y+TbcUM5o3Uu37SDbwSv1S+beU5zwtKy82VElEyIuVZn/BechkckjGzNz7wB X-Received: by 2002:a50:a365:: with SMTP id 92mr14909681edn.220.1589217637754; Mon, 11 May 2020 10:20:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589217637; cv=none; d=google.com; s=arc-20160816; b=shxRjcDg/TkD8zyMLeu21hH+waHTMXyfime4zpjsJ6LW3II7h6G+zgo5EflK1Y7Nyp collDnMqsyDQbyQizEBtL7FmkA3Wcqr/83aBHXjPx8WGXvccz7xhWR9qx3TUUgUg9ClD MX/cJ7iDAVRKV1Z+KllDhlaePeHXT+4XdZq6x36EGrjodVL2kenb/sgF5d5pu+aD0EtH M57YkLMCm2Uvva0CjePKTTfIc9PmJPmJA3dCAGmMZVTuL4cGKyKA1F0WKeNy2rRA51eL WwMa29G+D2OqSGO6lzbDegBkx8NYJ9ouIUIXgAXTv5oW8ylX6qVL/IgxHvWvgLuatwWD jYow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=b7ywi95dPkco7T5CqY7Ij21XZ2F7lgDUu5ELoqshkqg=; b=Vv2xIZ3Tb5geQo3YRkOkrggOPs8UzmbeUR/za9OJFFhMNb9dGz5jMzfnZX0Jhe192k h3Y2El9qRVWVk2fW0m2+o2nQmS23pPr9x4aGx9o+OOGjCiVmiGHY4Rg/AdmDCjjum7At glq9FW0xFrPjM9rtCMscvRSoqnD/GIpuagktzIQcsLrUGjQG/91Au6mVmvuLwOqXWog4 EcQL6t4FJewdcK8p/V8Tqj+7jv5JAHRSYKz9tj8Js0PWoWIRob/17M32zriM7l4U7X++ s6XX8Tky8/xoN3E7z4Wdbn1kdwro3bemEWJfCO7DRYU80wvJljHsl9crOQxxHX7QwFBO 83Dg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I60NhLeQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j13si6947233edt.371.2020.05.11.10.20.13; Mon, 11 May 2020 10:20:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=I60NhLeQ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730696AbgEKRST (ORCPT + 99 others); Mon, 11 May 2020 13:18:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728556AbgEKRST (ORCPT ); Mon, 11 May 2020 13:18:19 -0400 Received: from mail-io1-xd42.google.com (mail-io1-xd42.google.com [IPv6:2607:f8b0:4864:20::d42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E52A8C061A0C; Mon, 11 May 2020 10:18:18 -0700 (PDT) Received: by mail-io1-xd42.google.com with SMTP id s10so10625999iog.7; Mon, 11 May 2020 10:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b7ywi95dPkco7T5CqY7Ij21XZ2F7lgDUu5ELoqshkqg=; b=I60NhLeQjiGFzyZYQdNeASF8N8lVpKsXrFoi+WEQVPRg6ORfGQNSbSoDlW85TD8dq8 wpMkDS4G3H/3cUbmsSfQgce4XDuGRzrvXeoS2W/aGTlm7tvJ2luOrDCYfda4tZ3LX0wh snyFihC9Et+xceZ58cN+y8I6gg76Hl0qcdMaD1Hc3rgSfI1/K23spAX0T7lWlWQs7gLV xR5jI7qIz+XDH5j7p8MSr9Ll9Ipl7o67P1oMZpCadGAojWOhGZm2ctyhfT35ZyVQEm37 6mOzZrqOFWCjLI0MIZQKDSuTnqzHLBqDnBdyxxX0m1klqc0e0vn3xBRrgpXk/P5w2z7p hAsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b7ywi95dPkco7T5CqY7Ij21XZ2F7lgDUu5ELoqshkqg=; b=FrdBSriMmro1C+xB4KEUUppg1eZM979U3wIk4rLEm9HYSYPbMU9IvPScRkvUZqFAl/ CoLBwvM+eg79lAlrmVhVPYRocX/Hd3y+FoG07v9t1q3BYRZL3sPDFea6D1FZgyP8ARBS Ok7LpF/iDwQwotfI9q6xAIumsAg42+IullTfaMeHCnXOm3UlAjZOr2o8ovmR+7yZIP1l ytvKE4/uvOQ98oUZGr/nmUFJtdDeEOc3O+1o0reR5Bq0dOLH1Q2dcRHM8XtCUrxLsMzE IcZTLC9ncxFdBqoOm5GuZoHjVp4MIRjDgKs0G+L1zgDUwKDGwjdxzjHs3tZ4Tx7bgW7F 1g6A== X-Gm-Message-State: AGi0PuYsmQjxs6GVLJvaRjupoMTAJDP9FC9RJbeY1EL4x+jr8/ZADxff yzUKgtL7nC3DN98N5OlPmyFvXJck2DUNZngLX6s= X-Received: by 2002:a05:6638:11d4:: with SMTP id g20mr2067852jas.19.1589217498143; Mon, 11 May 2020 10:18:18 -0700 (PDT) MIME-Version: 1.0 References: <20200501205201.149804-1-konradybcio@gmail.com> In-Reply-To: <20200501205201.149804-1-konradybcio@gmail.com> From: Jeffrey Hugo Date: Mon, 11 May 2020 11:18:07 -0600 Message-ID: Subject: Re: [PATCH] drivers: gpu: drm: Add MDP5 configuration for MSM8x36 and its derivatives, such as MSM8939. To: Konrad Dybcio Cc: skrzynka@konradybcio.pl, Rob Clark , Sean Paul , David Airlie , Daniel Vetter , Allison Randal , Alexios Zavras , zhengbin , Thomas Gleixner , AngeloGioacchino Del Regno , Ben Dooks , MSM , "open list:DRM PANEL DRIVERS" , freedreno , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 1, 2020 at 2:52 PM Konrad Dybcio wrote: > > Signed-off-by: Konrad Dybcio > --- > drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 70 ++++++++++++++++++++++++ > 1 file changed, 70 insertions(+) > > diff --git a/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c b/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c > index e3c4c250238b7..1c7de7d6870cf 100644 > --- a/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c > +++ b/drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c > @@ -342,6 +342,75 @@ static const struct mdp5_cfg_hw msm8x16_config = { > .max_clk = 320000000, > }; > > +static const struct mdp5_cfg_hw msm8x36_config = { > + .name = "msm8x36", > + .mdp = { > + .count = 1, > + .base = { 0x0 }, > + .caps = MDP_CAP_SMP | > + 0, Is the "| 0" really adding value here?