]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Move dbuf_state->active_pipes into skl_wm_get_hw_state()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 6 Mar 2025 16:34:19 +0000 (18:34 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 7 Mar 2025 17:11:35 +0000 (19:11 +0200)
commite6001c930aae40f676227a27e0674e4c8953b1de
treed3f2a46578fb0dbb0c725e6d7c068ddcef77ad01
parent14968c207a0f88c6d21c798af14fb318b90f2eb8
drm/i915: Move dbuf_state->active_pipes into skl_wm_get_hw_state()

Move the dbuf_state readout parts into skl_wm_get_hw_state()
so that the details are better hidden from sight.

This will stop updating this on pre-skl, but that's what we want
since the dbuf state is only used on skl+.

Reviewed-by: Vinod Govindapillai <vinod.govindapillai@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250306163420.3961-18-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_modeset_setup.c
drivers/gpu/drm/i915/display/skl_watermark.c