]> 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)
commit86c988398a0800c1b20fea71eeb900669becb3cb
tree234bc8207156a9cbc22e6b9d095b2b1e48e3e746
parent3b5d4a84e30ef5e12205f5672f274a42c2efbe09
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