Re: [PATCH] drm/i915: Make psr_safest_params and enable_psr2_sel_fetch parameters read only

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@xxxxxxxxx>
On Thu, 2021-02-04 at 07:33 -0800, José Roberto de Souza wrote:
> By mistake those 2 parameters were defined as read and write in the
> .h file while in the .c file it is read only.
> The intention here was to be read only to avoid the need of
> additional
> handling.
> 
> Cc: Gwan-gyeong Mun <gwan-gyeong.mun@xxxxxxxxx>
> Cc: Petri Latvala <petri.latvala@xxxxxxxxx>
> Signed-off-by: José Roberto de Souza <jose.souza@xxxxxxxxx>
> ---
>  drivers/gpu/drm/i915/i915_params.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_params.h
> b/drivers/gpu/drm/i915/i915_params.h
> index f031966af5b7..48f47e44e848 100644
> --- a/drivers/gpu/drm/i915/i915_params.h
> +++ b/drivers/gpu/drm/i915/i915_params.h
> @@ -54,8 +54,8 @@ struct drm_printer;
>         param(int, enable_dc, -1, 0400) \
>         param(int, enable_fbc, -1, 0600) \
>         param(int, enable_psr, -1, 0600) \
> -       param(bool, psr_safest_params, false, 0600) \
> -       param(bool, enable_psr2_sel_fetch, false, 0600) \
> +       param(bool, psr_safest_params, false, 0400) \
> +       param(bool, enable_psr2_sel_fetch, false, 0400) \
>         param(int, disable_power_well, -1, 0400) \
>         param(int, enable_ips, 1, 0600) \
>         param(int, invert_brightness, 0, 0600) \

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux