From: Jordan Crouse <jcrouse@codeaurora.org>
To: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
Cc: robdclark@gmail.com, sean@poorly.run, airlied@linux.ie,
daniel@ffwll.ch, linux-arm-msm@vger.kernel.org,
dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org,
linux-kernel@vger.kernel.org, phone-devel@vger.kernel.org,
konrad.dybcio@somainline.org, marijn.suijten@somainline.org,
martin.botka@somainline.org
Subject: Re: [PATCH v3 6/7] drm/msm/a5xx: Disable flat shading optimization
Date: Thu, 14 Jan 2021 15:24:31 -0700 [thread overview]
Message-ID: <20210114222431.GE29638@jcrouse1-lnx.qualcomm.com> (raw)
In-Reply-To: <20210113183339.446239-7-angelogioacchino.delregno@somainline.org>
On Wed, Jan 13, 2021 at 07:33:38PM +0100, AngeloGioacchino Del Regno wrote:
> From: Konrad Dybcio <konrad.dybcio@somainline.org>
>
> Port over the command from downstream to prevent undefined
> behaviour.
Reviewed-by: Jordan Crouse <jcrouse@codeaurora.org>
> Signed-off-by: Konrad Dybcio <konrad.dybcio@somainline.org>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
> ---
> drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c
> index 24ab51bb5a01..23fc851756de 100644
> --- a/drivers/gpu/drm/msm/adreno/a5xx_gpu.c
> +++ b/drivers/gpu/drm/msm/adreno/a5xx_gpu.c
> @@ -791,6 +791,9 @@ static int a5xx_hw_init(struct msm_gpu *gpu)
> adreno_is_a540(adreno_gpu))
> gpu_write(gpu, REG_A5XX_UCHE_DBG_ECO_CNTL_2, regbit);
>
> + /* Disable All flat shading optimization (ALLFLATOPTDIS) */
> + gpu_rmw(gpu, REG_A5XX_VPC_DBG_ECO_CNTL, 0, (1 << 10));
> +
> /* Protect registers from the CP */
> gpu_write(gpu, REG_A5XX_CP_PROTECT_CNTL, 0x00000007);
>
> --
> 2.29.2
>
--
The Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
next prev parent reply other threads:[~2021-01-14 22:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-13 18:33 [PATCH v3 0/7] Add support for Adreno 508/509/512 AngeloGioacchino Del Regno
2021-01-13 18:33 ` [PATCH v3 1/7] drm/msm/a5xx: Remove overwriting A5XX_PC_DBG_ECO_CNTL register AngeloGioacchino Del Regno
2021-01-13 18:33 ` [PATCH v3 2/7] drm/msm/a5xx: Separate A5XX_PC_DBG_ECO_CNTL write from main branch AngeloGioacchino Del Regno
2021-01-13 18:33 ` [PATCH v3 3/7] drm/msm/a5xx: Add support for Adreno 508, 509, 512 GPUs AngeloGioacchino Del Regno
2021-01-13 18:33 ` [PATCH v3 4/7] drm/msm/a5xx: Reset VBIF before PC only on A510 and A530 AngeloGioacchino Del Regno
2021-01-13 18:33 ` [PATCH v3 5/7] drm/msm/a5xx: Fix VPC protect value in gpu_write() AngeloGioacchino Del Regno
2021-01-14 22:23 ` Jordan Crouse
2021-01-13 18:33 ` [PATCH v3 6/7] drm/msm/a5xx: Disable flat shading optimization AngeloGioacchino Del Regno
2021-01-14 22:24 ` Jordan Crouse [this message]
2021-01-13 18:33 ` [PATCH v3 7/7] drm/msm/a5xx: Disable UCHE global filter AngeloGioacchino Del Regno
2021-01-14 22:24 ` Jordan Crouse
2021-03-01 19:59 ` [PATCH v3 0/7] Add support for Adreno 508/509/512 patchwork-bot+linux-arm-msm
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=20210114222431.GE29638@jcrouse1-lnx.qualcomm.com \
--to=jcrouse@codeaurora.org \
--cc=airlied@linux.ie \
--cc=angelogioacchino.delregno@somainline.org \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=konrad.dybcio@somainline.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marijn.suijten@somainline.org \
--cc=martin.botka@somainline.org \
--cc=phone-devel@vger.kernel.org \
--cc=robdclark@gmail.com \
--cc=sean@poorly.run \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox