]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f2e2947e078afc4259c09f281d883f0a165dfdb
treed47dc557b495a4df98b9fcce1695b928e48cd3a5
parent5badf0b629643715e635bfed0b8aaa95611e51ff
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
drivers/gpu/drm/i915/i915_params.h