On Wed, 04 Jun 2025, Jani Nikula <[email protected]> wrote: > This is a scripted split of the display related register macros from > i915_reg.h to display/intel_display_regs.h. As a starting point, move > all the macros that are only used in display code (or GVT). If there are > users in core i915 code or soc/, or no users anywhere, keep the macros > in i915_reg.h. This is done in groups of macros separated by blank > lines, moving the comments along with the groups. > > Some manually picked macro groups are kept/moved regardless of the > heuristics above. > > This is obviously a very crude approach. It's not perfect. But there are > 4.2k lines in i915_reg.h, and its refactoring has ground to a halt. This > is the big hammer that splits the file to two, and enables further > cleanup.
Note: This is already stale. Will need to be redone. BR, Jani. -- Jani Nikula, Intel
