OSDN Git Service

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)
commit64218f91ab49a8aa1d0e5793cc9e29f03a93639b
treed47dc557b495a4df98b9fcce1695b928e48cd3a5
parentc5c874a8352918555c79b8af5a25f7e543c84844
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