diff options
author | José Roberto de Souza <jose.souza@intel.com> | 2021-02-04 07:33:57 -0800 |
---|---|---|
committer | José Roberto de Souza <jose.souza@intel.com> | 2021-02-05 05:41:19 -0800 |
commit | 64218f91ab49a8aa1d0e5793cc9e29f03a93639b (patch) | |
tree | d47dc557b495a4df98b9fcce1695b928e48cd3a5 /drivers/gpu/drm/i915/i915_params.h | |
parent | c5c874a8352918555c79b8af5a25f7e543c84844 (diff) | |
download | lwn-64218f91ab49a8aa1d0e5793cc9e29f03a93639b.tar.gz lwn-64218f91ab49a8aa1d0e5793cc9e29f03a93639b.zip |
drm/i915: Make psr_safest_params and enable_psr2_sel_fetch parameters read only
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
Diffstat (limited to 'drivers/gpu/drm/i915/i915_params.h')
-rw-r--r-- | drivers/gpu/drm/i915/i915_params.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_params.h b/drivers/gpu/drm/i915/i915_params.h index 330c03e2b4f7..21a7a5f686ec 100644 --- a/drivers/gpu/drm/i915/i915_params.h +++ b/drivers/gpu/drm/i915/i915_params.h @@ -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) \ |