drm/i915: Make psr_safest_params and enable_psr2_sel_fetch parameters read only
authorJosé Roberto de Souza <jose.souza@intel.com>
Thu, 4 Feb 2021 15:33:57 +0000 (07:33 -0800)
committerJosé Roberto de Souza <jose.souza@intel.com>
Fri, 5 Feb 2021 13:41:19 +0000 (05:41 -0800)
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@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: José Roberto de Souza <jose.souza@intel.com>
Reviewed-by: Gwan-gyeong Mun <gwan-gyeong.mun@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210204153357.39681-1-jose.souza@intel.com
drivers/gpu/drm/i915/i915_params.h

index 330c03e..21a7a5f 100644 (file)
@@ -53,8 +53,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) \