All of lore.kernel.org
 help / color / mirror / Atom feed
From: Konrad Dybcio <konrad.dybcio@somainline.org>
To: Iskren Chernev <iskren.chernev@gmail.com>,
	Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Andy Gross <agross@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	~postmarketos/upstreaming@lists.sr.ht,
	Samuel Pascua <pascua.samuel.14@gmail.com>,
	Alexey Minnekhanov <alexeymin@postmarketos.org>,
	Brian Masney <masneyb@onstation.org>
Subject: Re: [PATCH 1/4] ARM: dts: qcom: msm8974: add gpu support
Date: Sun, 24 Jan 2021 15:56:06 +0100	[thread overview]
Message-ID: <f1438c9d-458b-2ff7-cae9-f7bf4228ef4c@somainline.org> (raw)
In-Reply-To: <20210124135610.1779295-1-iskren.chernev@gmail.com>

Hi,


> +		gpu_opp_table: opp_table {
> +			status = "disabled";


Is there a good reason to disable this?


> +			opp-800000000 {
> +				opp-hz = /bits/ 64 <800000000>;
> +			};

No. A330 can't go lightspeed (unless there's some secret ultra-binned msm8974pro-v4-ad-5g). [1]


> +
> +			opp-500000000 {
> +				opp-hz = /bits/ 64 <500000000>;
> +			};
> +
> +			opp-275000000 {
> +				opp-hz = /bits/ 64 <275000000>;
> +			};
> +		};

IMHO we should create separate DTs for all revisions of 8974 (sigh) and keep the opp tables in there, only leaving a lowest-common-denominator one here (which according to downstream and the msm/drm driver would be 27000000 /27MHz/) to make it at least probe for everybody..


On a note, max GPU frequencies (based on [1] and grepping for gpu-pwrlevels or qcom,gpu-freq downstream) are:


* 578 MHz for PRO (so -AC)

* 550 MHz is mentioned in [1] but not downstream..

* 450 MHz for everything else (v2.2 has more DVFS steps)


> +			// iommus = <&gpu_iommu 0>;

I *think* you're going to need more gpu contexts (user/priv/spare), but don't quote me on that.


Konrad


[1] https://www.anandtech.com/show/7846/the-difference-between-snapdragon-800-and-801-clearing-up-confusion


  parent reply	other threads:[~2021-01-24 14:56 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-24 13:56 [PATCH 1/4] ARM: dts: qcom: msm8974: add gpu support Iskren Chernev
2021-01-24 13:56 ` [PATCH 2/4] ARM: dts: qcom: msm8974-klte: add support for GPU Iskren Chernev
2021-01-24 15:02   ` Konrad Dybcio
2021-01-24 13:56 ` [PATCH 3/4] ARM: dts: qcom: msm8974-klte: add support for display Iskren Chernev
2021-01-24 15:04   ` Konrad Dybcio
2021-01-24 17:31     ` Luca Weiss
2021-01-24 17:33       ` Konrad Dybcio
2021-01-25 15:40         ` Bjorn Andersson
2021-01-25 15:47           ` Konrad Dybcio
2021-01-25 15:57             ` Bjorn Andersson
2021-01-24 13:56 ` [PATCH 4/4] ARM: dts: qcom: msm8974-klte: Mark essential regulators Iskren Chernev
2021-01-24 15:14   ` Konrad Dybcio
2021-01-24 14:56 ` Konrad Dybcio [this message]
2021-01-25  0:09   ` [PATCH 1/4] ARM: dts: qcom: msm8974: add gpu support Brian Masney
2021-01-24 21:05 ` Pavel Machek
2021-01-25 13:03   ` Iskren Chernev
  -- strict thread matches above, loose matches on Subject: below --
2020-12-30 15:51 Iskren Chernev
2020-12-30 22:27 ` Brian Masney
2021-01-03  6:16 ` Alexey Minnekhanov
2021-01-22 18:33 ` Bjorn Andersson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f1438c9d-458b-2ff7-cae9-f7bf4228ef4c@somainline.org \
    --to=konrad.dybcio@somainline.org \
    --cc=agross@kernel.org \
    --cc=alexeymin@postmarketos.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=iskren.chernev@gmail.com \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=masneyb@onstation.org \
    --cc=pascua.samuel.14@gmail.com \
    --cc=robh+dt@kernel.org \
    --cc=~postmarketos/upstreaming@lists.sr.ht \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.