Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1088928ybi; Wed, 19 Jun 2019 13:17:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqyqj6acGT3/13J3X1Sj7x4PAxc/4y/+TlTVti/7nI5PDXZAqEbr6/fty2oEf0uOWtRu2IKZ X-Received: by 2002:a63:d60c:: with SMTP id q12mr9247643pgg.176.1560975454618; Wed, 19 Jun 2019 13:17:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560975454; cv=none; d=google.com; s=arc-20160816; b=Wc4MzGSIgUjfRNxOPeEsIzbyu4mQpXPdsT8Ni0yJXWqYI4CWUrh0SqS+jp/ErD58Fe TQf0wEvwYwAbcEGHYHr5f8hdlZbTb4OLsmaF3ulAbem1EIL32siofwqoCwkKBoHJ6htY dEODP8/cZRG5vzM4eCzRajYGH4O6rM9m/T+jzsywWytKq6G8tPtQoqAteyni7Fq7RGCI VIoBOfXuUCj0xbJz+yyv6Mcwq06OK/RMkN4V++XIePghlupzmCvOfRs5jxUVIvjAlYY3 BtOVmWZE5NbjwIa2Z2h4YSZXS3K0gsggRK7zcumtmDt/LRFKcd1N6qrfFQFjQWf9oJwN cM9Q== 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=lw33eUrtTYT1YbWVdPepmh6IUEoTyyryOiU7aX6JYY8=; b=MlOU2CqR0o6MvRGWFAKNKN+MRdrbghZ0UetOtw3C8s8fLW7DFRt9tb0260rarCZZue D+nQBKrqRjktqdeS+0nyf3VciEVPWyhZeA9X8OykYgAIufl/Prf/nN/AEQnpiy75lsVq jdD97hX4+Jhmgm4+C5eYXfUQpGvYkjfj94a3Zn6QSLXJrinjIejiprCa0t3xEJtPenxw 4fUuVqsrDKY+k/c9QyJ6FM2ptE3HD6vxWliOmcEb5nG2/UtY9yQc7oHcC1DuUPL+UUdP h7akbMZYoZVLLAe9kcXN3KSs+vR7aRklqyW0fSctWISdFIaNMqDniLoo314jX+iXMwpi 8q4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YVVZo+x8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i2si17629869pfb.7.2019.06.19.13.17.18; Wed, 19 Jun 2019 13:17:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YVVZo+x8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726322AbfFSURM (ORCPT + 99 others); Wed, 19 Jun 2019 16:17:12 -0400 Received: from mail.kernel.org ([198.145.29.99]:32810 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726175AbfFSURM (ORCPT ); Wed, 19 Jun 2019 16:17:12 -0400 Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4282D217D9; Wed, 19 Jun 2019 20:17:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560975431; bh=541XiS0AbaClh3nYwpHX5EEggdOh+N+d4mSDoxX/Rpg=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=YVVZo+x89SxPwT5avxM6SUocpzWOqaV1fttnSeTufy/f48lKwzYOPqQV0k6yp4Ixf GYbD1O/Lg6MbfB6VUF6kG2MAP8QOp3B2cucQt2I/CtVGotYf/GsYzQ2gSRnHctarOg +VmQNytdY3f/ykQO4q1Ij6clsBS3a+LvOI0ddnQw= Received: by mail-qt1-f176.google.com with SMTP id h21so545584qtn.13; Wed, 19 Jun 2019 13:17:11 -0700 (PDT) X-Gm-Message-State: APjAAAUFkK/fWdO4xLeia1qjFJdaivB8eeWh5jIm0q9dH9IVYs3yLn33 E4h4XTtIcYbQG540bhHAh+z0PpuDct/wAC909A== X-Received: by 2002:a0c:8a43:: with SMTP id 3mr36153698qvu.138.1560975430399; Wed, 19 Jun 2019 13:17:10 -0700 (PDT) MIME-Version: 1.0 References: <20190616132930.6942-1-masneyb@onstation.org> <20190616132930.6942-3-masneyb@onstation.org> In-Reply-To: <20190616132930.6942-3-masneyb@onstation.org> From: Rob Herring Date: Wed, 19 Jun 2019 14:16:57 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 2/6] dt-bindings: display: msm: gmu: add optional ocmem property To: Brian Masney Cc: Andy Gross , David Brown , Rob Clark , Sean Paul , Bjorn Andersson , David Airlie , Daniel Vetter , Mark Rutland , Jonathan Marek , linux-arm-msm , "linux-kernel@vger.kernel.org" , dri-devel , freedreno , devicetree@vger.kernel.org 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 Sun, Jun 16, 2019 at 7:29 AM Brian Masney wrote: > > Some A3xx and A4xx Adreno GPUs do not have GMEM inside the GPU core and > must use the On Chip MEMory (OCMEM) in order to be functional. Add the > optional ocmem property to the Adreno Graphics Management Unit bindings. > > Signed-off-by: Brian Masney > --- > Documentation/devicetree/bindings/display/msm/gmu.txt | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Documentation/devicetree/bindings/display/msm/gmu.txt b/Documentation/devicetree/bindings/display/msm/gmu.txt > index 90af5b0a56a9..c746b95e95d4 100644 > --- a/Documentation/devicetree/bindings/display/msm/gmu.txt > +++ b/Documentation/devicetree/bindings/display/msm/gmu.txt > @@ -31,6 +31,10 @@ Required properties: > - iommus: phandle to the adreno iommu > - operating-points-v2: phandle to the OPP operating points > > +Optional properties: > +- ocmem: phandle to the On Chip Memory (OCMEM) that's present on some Snapdragon > + SoCs. See Documentation/devicetree/bindings/soc/qcom/qcom,ocmem.yaml. We already have a couple of similar properties. Lets standardize on 'sram' as that is what TI already uses. Also, is the whole OCMEM allocated to the GMU? If not you should have child nodes to subdivide the memory. Rob