]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/bw: Untangle dbuf bw from the sagv/mem bw stuff
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 13 Oct 2025 20:12:28 +0000 (23:12 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 16 Oct 2025 21:05:04 +0000 (00:05 +0300)
commitac930bab1c8985da7edeb4d5a266ab4e0cae2df0
tree71337d05a0fb3bf39c3acf7535a0a00c63e38cb6
parent27e21516914dc130a79aa895a5a26e18f0213a5a
drm/i915/bw: Untangle dbuf bw from the sagv/mem bw stuff

Currently intel_bw.c contains basically three completely independent
parts:
- SAGV/memory bandwidth handling
- DBuf bandwidth handling
- "Maximum pipe read bandwidth" calculation, which is some kind
  of internal per-pipe bandwidth limit.

Carve out the DBuf bandwdith handling into a separate file since
there is no actual dependency between it and the rest of intel_bw.c.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20251013201236.30084-2-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/display/intel_bw.c
drivers/gpu/drm/i915/display/intel_bw.h
drivers/gpu/drm/i915/display/intel_cdclk.c
drivers/gpu/drm/i915/display/intel_cdclk.h
drivers/gpu/drm/i915/display/intel_dbuf_bw.c [new file with mode: 0644]
drivers/gpu/drm/i915/display/intel_dbuf_bw.h [new file with mode: 0644]
drivers/gpu/drm/i915/display/intel_display_core.h
drivers/gpu/drm/i915/display/intel_display_driver.c
drivers/gpu/drm/i915/display/intel_modeset_setup.c
drivers/gpu/drm/xe/Makefile