]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Extract ilk_must_disable_lp_wm()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Sep 2024 16:24:09 +0000 (19:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 24 Sep 2024 07:44:31 +0000 (10:44 +0300)
commit16d1d39db536205746eaaf43ee70780b893cd27a
tree38adb11b8a13bc236897274e3c21cc0d8ec734f9
parent9cf6f05cc5d275f6efd9583fb7fcd04eb7e7b092
drm/i915: Extract ilk_must_disable_lp_wm()

Pull the ilk/snb/ivb LP watermark disable checks into a separate
function similar to the gmch counterpart (i9xx_must_disable_cxsr()).
Reduces the clutter in intel_plane_atomic_calc_changes() significantly.

Reviewed-by: Arun R Murthy <arun.r.murthy@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240916162413.8555-4-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_atomic_plane.c