linux-loongson/drivers/gpu/drm/i915/gvt
Jani Nikula 188bdfb776 drm/i915: split out display register macros to a separate file
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.

Cc: Suraj Kandpal <suraj.kandpal@intel.com>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Cc: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> # v2
Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com>
Link: https://lore.kernel.org/r/20250606102256.2080073-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
2025-06-09 13:25:10 +03:00
..
aperture_gm.c drm/i915/gvt: Stop using intel_runtime_pm_put_unchecked() 2025-03-25 16:53:24 +02:00
cfg_space.c
cmd_parser.c drm/i915: split out display register macros to a separate file 2025-06-09 13:25:10 +03:00
cmd_parser.h
debug.h
debugfs.c drm/i915/gvt: Stop using intel_runtime_pm_put_unchecked() 2025-03-25 16:53:24 +02:00
display.c drm/i915: split out display register macros to a separate file 2025-06-09 13:25:10 +03:00
display.h drm/i915/sbi: clean up SBI register macro definitions and usage 2025-06-04 16:28:47 +03:00
dmabuf.c drm/i915/gvt: fix typos in i915/gvt files 2025-01-23 05:48:22 -05:00
dmabuf.h
edid.c drm/i915: stop including display/intel_display_{core, limits}.h from i915_drv.h 2025-05-27 11:25:53 +03:00
edid.h drm/i915/gvt: use macros from drm_dp.h instead of duplication 2024-10-22 15:29:14 +03:00
execlist.c
execlist.h
fb_decoder.c drm/i915: split out display register macros to a separate file 2025-06-09 13:25:10 +03:00
fb_decoder.h drm/i915/gvt: Remove unused intel_vgpu_decode_sprite_plane 2025-01-13 11:25:44 -05:00
firmware.c
gtt.c drm/i915/gvt: Stop using intel_runtime_pm_put_unchecked() 2025-03-25 16:53:24 +02:00
gtt.h
gvt.h drm/i915/gvt: Stop using intel_runtime_pm_put_unchecked() 2025-03-25 16:53:24 +02:00
handlers.c drm/i915: split out display register macros to a separate file 2025-06-09 13:25:10 +03:00
interrupt.c drm/i915: split out display register macros to a separate file 2025-06-09 13:25:10 +03:00
interrupt.h
kvmgt.c drm/i915/gvt: fix typos in i915/gvt files 2025-01-23 05:48:22 -05:00
Makefile
mmio_context.c drm/i915/gvt: fix typos in i915/gvt files 2025-01-23 05:48:22 -05:00
mmio_context.h
mmio.c drm/i915: split out display register macros to a separate file 2025-06-09 13:25:10 +03:00
mmio.h drm/i915/gvt: Remove unused intel_gvt_in_force_nonpriv_whitelist 2025-01-13 11:25:44 -05:00
opregion.c drm/i915/gvt: fix unterminated-string-initialization warning 2025-04-07 11:00:08 +03:00
page_track.c drm/i915/gvt: Correct multiple typos in comments 2024-09-16 11:02:44 +02:00
page_track.h
reg.h
sched_policy.c Cross-subsystem Changes: 2025-04-15 05:06:51 +10:00
sched_policy.h
scheduler.c drm/i915/gvt: fix typos in i915/gvt files 2025-01-23 05:48:22 -05:00
scheduler.h
trace_points.c
trace.h drm/i915: Replace double blank with single blank after comma 2024-08-08 12:26:33 +01:00
vgpu.c drm/i915/gvt: fix typos in i915/gvt files 2025-01-23 05:48:22 -05:00