Re: [Intel-gfx] [PATCH 2/3] drm/i915: move VGA registers to intel_vga.c

2022-01-10 Thread Jani Nikula
On Fri, 07 Jan 2022, Matt Roper wrote: > On Fri, Jan 07, 2022 at 11:49:50AM +0200, Jani Nikula wrote: >> The only users of the VGA register macros are in intel_vga.c. Hide the >> macros there. >> >> Cc: Matt Roper >> Signed-off-by: Jani Nikula > > It looks like only 5 of the ~30 registers here

Re: [Intel-gfx] [PATCH 2/3] drm/i915: move VGA registers to intel_vga.c

2022-01-07 Thread Matt Roper
On Fri, Jan 07, 2022 at 11:49:50AM +0200, Jani Nikula wrote: > The only users of the VGA register macros are in intel_vga.c. Hide the > macros there. > > Cc: Matt Roper > Signed-off-by: Jani Nikula It looks like only 5 of the ~30 registers here are actually used. And I think those could just b

[Intel-gfx] [PATCH 2/3] drm/i915: move VGA registers to intel_vga.c

2022-01-07 Thread Jani Nikula
The only users of the VGA register macros are in intel_vga.c. Hide the macros there. Cc: Matt Roper Signed-off-by: Jani Nikula --- drivers/gpu/drm/i915/display/intel_vga.c | 41 drivers/gpu/drm/i915/i915_reg.h | 41 2 files changed, 41