mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "james qian wang (Arm Technology China)" <james.qian.wang@arm.com>
To: Mihail Atanassov <Mihail.Atanassov@arm.com>
Cc: David Airlie <airlied@linux.ie>,
	Liviu Dudau <Liviu.Dudau@arm.com>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"dri-devel@lists.freedesktop.org"
	<dri-devel@lists.freedesktop.org>,
	"Lowry Li (Arm Technology China)" <Lowry.Li@arm.com>,
	nd <nd@arm.com>, Sean Paul <sean@poorly.run>
Subject: Re: drm/komeda: Dump SC_ENH_* registers from scaler block
Date: Wed, 16 Oct 2019 08:17:39 +0000	[thread overview]
Message-ID: <20191016081732.GA16502@jamwan02-TSP300> (raw)
In-Reply-To: <20191015105936.50039-1-mihail.atanassov@arm.com>

On Tue, Oct 15, 2019 at 11:00:01AM +0000, Mihail Atanassov wrote:
> Signed-off-by: Mihail Atanassov <mihail.atanassov@arm.com>
> ---
>  .../gpu/drm/arm/display/komeda/d71/d71_component.c | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/arm/display/komeda/d71/d71_component.c b/drivers/gpu/drm/arm/display/komeda/d71/d71_component.c
> index c3d29c0b051b..7252fc387fba 100644
> --- a/drivers/gpu/drm/arm/display/komeda/d71/d71_component.c
> +++ b/drivers/gpu/drm/arm/display/komeda/d71/d71_component.c
> @@ -703,7 +703,7 @@ static void d71_scaler_update(struct komeda_component *c,
>  
>  static void d71_scaler_dump(struct komeda_component *c, struct seq_file *sf)
>  {
> -	u32 v[9];
> +	u32 v[10];
>  
>  	dump_block_header(sf, c->reg);
>  
> @@ -723,6 +723,18 @@ static void d71_scaler_dump(struct komeda_component *c, struct seq_file *sf)
>  	seq_printf(sf, "SC_H_DELTA_PH:\t\t0x%X\n", v[6]);
>  	seq_printf(sf, "SC_V_INIT_PH:\t\t0x%X\n", v[7]);
>  	seq_printf(sf, "SC_V_DELTA_PH:\t\t0x%X\n", v[8]);
> +
> +	get_values_from_reg(c->reg, 0x130, 10, v);
> +	seq_printf(sf, "SC_ENH_LIMITS:\t\t0x%X\n", v[0]);
> +	seq_printf(sf, "SC_ENH_COEFF0:\t\t0x%X\n", v[1]);
> +	seq_printf(sf, "SC_ENH_COEFF1:\t\t0x%X\n", v[2]);
> +	seq_printf(sf, "SC_ENH_COEFF2:\t\t0x%X\n", v[3]);
> +	seq_printf(sf, "SC_ENH_COEFF3:\t\t0x%X\n", v[4]);
> +	seq_printf(sf, "SC_ENH_COEFF4:\t\t0x%X\n", v[5]);
> +	seq_printf(sf, "SC_ENH_COEFF5:\t\t0x%X\n", v[6]);
> +	seq_printf(sf, "SC_ENH_COEFF6:\t\t0x%X\n", v[7]);
> +	seq_printf(sf, "SC_ENH_COEFF7:\t\t0x%X\n", v[8]);
> +	seq_printf(sf, "SC_ENH_COEFF8:\t\t0x%X\n", v[9]);
>  }
>

Looks good to me.

Reviewed-by: James Qian Wang (Arm Technology China) <james.qian.wang@arm.com>

>  static const struct komeda_component_funcs d71_scaler_funcs = {

  reply	other threads:[~2019-10-16  8:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 11:00 [PATCH] " Mihail Atanassov
2019-10-16  8:17 ` james qian wang (Arm Technology China) [this message]
2019-10-21 13:42   ` Mihail Atanassov

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=20191016081732.GA16502@jamwan02-TSP300 \
    --to=james.qian.wang@arm.com \
    --cc=Liviu.Dudau@arm.com \
    --cc=Lowry.Li@arm.com \
    --cc=Mihail.Atanassov@arm.com \
    --cc=airlied@linux.ie \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nd@arm.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

all inboxes | Powered by JetHome®