]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcde18fb410bac5e9299642e4c15c8b775d84348a
tree234bc8207156a9cbc22e6b9d095b2b1e48e3e746
parentf645e2d6b3b55cd848e2a30913637bee6a9277ab
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