[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CADnq5_OSYYySsYr=0R2Qo7Ku2Vs5+DAv=X4R=Nfpzmg=8G=dCg@mail.gmail.com>
Date: Fri, 12 Jun 2020 11:27:32 -0400
From: Alex Deucher <alexdeucher@...il.com>
To: Bernard Zhao <bernard@...o.com>
Cc: Harry Wentland <harry.wentland@....com>,
Leo Li <sunpeng.li@....com>,
Alex Deucher <alexander.deucher@....com>,
Christian König <christian.koenig@....com>,
David Airlie <airlied@...ux.ie>,
Daniel Vetter <daniel@...ll.ch>,
Anthony Koo <Anthony.Koo@....com>,
Rodrigo Siqueira <Rodrigo.Siqueira@....com>,
Wyatt Wood <wyatt.wood@....com>,
Josip Pavic <Josip.Pavic@....com>,
amd-gfx list <amd-gfx@...ts.freedesktop.org>,
Maling list - DRI developers
<dri-devel@...ts.freedesktop.org>,
LKML <linux-kernel@...r.kernel.org>, opensource.kernel@...o.com
Subject: Re: [PATCH] drm/amd: add missing fill of the array`s first element
On Fri, Jun 12, 2020 at 9:22 AM Bernard Zhao <bernard@...o.com> wrote:
>
> In function fill_iram_v_2, the ram_table->bright_neg_gain`s
> first element [0][0] seems to be missing. This change is just
> to make the code a bit readable.
>
> Signed-off-by: Bernard Zhao <bernard@...o.com>
Applied. Thanks!
Alex
> ---
> drivers/gpu/drm/amd/display/modules/power/power_helpers.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
> index 8c37bcc27132..7604a01be19c 100644
> --- a/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
> +++ b/drivers/gpu/drm/amd/display/modules/power/power_helpers.c
> @@ -350,6 +350,7 @@ void fill_iram_v_2(struct iram_table_v_2 *ram_table, struct dmcu_iram_parameters
> ram_table->bright_pos_gain[4][1] = 0x20;
> ram_table->bright_pos_gain[4][2] = 0x20;
> ram_table->bright_pos_gain[4][3] = 0x20;
> + ram_table->bright_neg_gain[0][0] = 0x00;
> ram_table->bright_neg_gain[0][1] = 0x00;
> ram_table->bright_neg_gain[0][2] = 0x00;
> ram_table->bright_neg_gain[0][3] = 0x00;
> --
> 2.17.1
>
> _______________________________________________
> amd-gfx mailing list
> amd-gfx@...ts.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/amd-gfx
Powered by blists - more mailing lists