drm/i915/guc: make default_lists const data
authorJani Nikula <jani.nikula@intel.com>
Tue, 22 Nov 2022 14:16:16 +0000 (16:16 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 23 Nov 2022 12:13:43 +0000 (14:13 +0200)
commit8b7f7a9b10b704ba7d73199ff0f01354e0bad7a5
treefc6b79a587440b482ef6f88908dd2a5e973a6382
parentba51925da4ef763d6a3aa03b15241a85cdb76865
drm/i915/guc: make default_lists const data

The default_lists array should be in rodata.

Fixes: dce2bd542337 ("drm/i915/guc: Add Gen9 registers for GuC error state capture.")
Cc: Alan Previn <alan.previn.teres.alexis@intel.com>
Cc: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221122141616.3469214-1-jani.nikula@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_capture.c