Re: [Intel-gfx] [PATCH 1/3] drm/i915: Extract intel_mmio_bar()

2022-10-05 Thread Matthew Auld
On Wed, 5 Oct 2022 at 16:42, Ville Syrjala wrote: > > From: Ville Syrjälä > > We have the same code to determine the MMIO BAR in > two places. Collect it to a single place. > > Signed-off-by: Ville Syrjälä Reviewed-by: Matthew Auld

[Intel-gfx] [PATCH 1/3] drm/i915: Extract intel_mmio_bar()

2022-10-05 Thread Ville Syrjala
From: Ville Syrjälä We have the same code to determine the MMIO BAR in two places. Collect it to a single place. Signed-off-by: Ville Syrjälä --- drivers/gpu/drm/i915/gt/intel_gt.c | 2 +- drivers/gpu/drm/i915/i915_pci.c | 4 +--- drivers/gpu/drm/i915/intel_pci_config.h | 8 ++