]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915: make device info a const pointer to rodata
authorJani Nikula <jani.nikula@intel.com>
Tue, 27 Jun 2023 15:14:03 +0000 (18:14 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 29 Jun 2023 13:28:14 +0000 (16:28 +0300)
commit0c4f52bac4401dfd6f82984040bc0e163b0ccb9c
tree08b9b473b889a7a216540718c8b7149d760d5ca0
parente672f9e9f6a74cc24fa268acc5b5aabec458eb72
drm/i915: make device info a const pointer to rodata

Finally we can get rid of the pseudo-const write-once device info, and
convert it into a const pointer to device info in rodata.

Cc: Matt Roper <matthew.d.roper@intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/f31933222f44e4a9224e41399a96896eb243e653.1687878757.git.jani.nikula@intel.com
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/intel_device_info.c