drm/i915: add initial runtime info into device info
authorJani Nikula <jani.nikula@intel.com>
Fri, 19 Aug 2022 12:02:36 +0000 (15:02 +0300)
committerJani Nikula <jani.nikula@intel.com>
Wed, 24 Aug 2022 08:45:15 +0000 (11:45 +0300)
commit2c93e7b7f545d2cca0e9e220ad7e6e1ac793ed39
tree234bc8207156a9cbc22e6b9d095b2b1e48e3e746
parentc7d3c8447b262d177e0e83154841d64cde521e70
drm/i915: add initial runtime info into device info

Add initial runtime info that we can copy to runtime info at i915
creation time. This lets us define the initial values for runtime info
statically while making it possible to change them runtime. This will be
the new home for the current "const" device info members that are
modified runtime anyway.

Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Maarten Lankhort <maarten.lankhorst@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/a77c6db2da20d401f47a0a5e87356b9b3f6292df.1660910433.git.jani.nikula@intel.com
drivers/gpu/drm/i915/i915_driver.c
drivers/gpu/drm/i915/intel_device_info.h