Commit f8226d02 authored by Jani Nikula's avatar Jani Nikula

drm/i915: make dbuf configurations const

Ensure const data goes to rodata.

Fixes: ff2cd863 ("drm/i915: Correctly map DBUF slices to pipes")
Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Stanislav Lisovskiy <stanislav.lisovskiy@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: default avatarMatt Roper <matthew.d.roper@intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200219154542.19574-1-jani.nikula@intel.com
parent b664259f
...@@ -4178,7 +4178,7 @@ struct dbuf_slice_conf_entry { ...@@ -4178,7 +4178,7 @@ struct dbuf_slice_conf_entry {
* as is from BSpec itself - that way it is at least easier * as is from BSpec itself - that way it is at least easier
* to compare, change and check. * to compare, change and check.
*/ */
static struct dbuf_slice_conf_entry icl_allowed_dbufs[] = static const struct dbuf_slice_conf_entry icl_allowed_dbufs[] =
/* Autogenerated with igt/tools/intel_dbuf_map tool: */ /* Autogenerated with igt/tools/intel_dbuf_map tool: */
{ {
{ {
...@@ -4240,7 +4240,7 @@ static struct dbuf_slice_conf_entry icl_allowed_dbufs[] = ...@@ -4240,7 +4240,7 @@ static struct dbuf_slice_conf_entry icl_allowed_dbufs[] =
* as is from BSpec itself - that way it is at least easier * as is from BSpec itself - that way it is at least easier
* to compare, change and check. * to compare, change and check.
*/ */
static struct dbuf_slice_conf_entry tgl_allowed_dbufs[] = static const struct dbuf_slice_conf_entry tgl_allowed_dbufs[] =
/* Autogenerated with igt/tools/intel_dbuf_map tool: */ /* Autogenerated with igt/tools/intel_dbuf_map tool: */
{ {
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment