]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915: Move the dodgy pre-g4x wm stuff into i9xx_wm
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 16 Sep 2024 16:24:11 +0000 (19:24 +0300)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 24 Sep 2024 07:45:21 +0000 (10:45 +0300)
commit7572d3f72ed3ad83d302d4fa0ff67706ce68994a
tree8ee8370aa862e9893afe0942ea40b0b3ab068d17
parent69aebe7a61ce49895e0352a1d5b5534e07094a46
drm/i915: Move the dodgy pre-g4x wm stuff into i9xx_wm

As with other watermark calculations, the dodgy pre-g4x
update_wm_{pre,post} flag calcultion would like to know
if a modeset is about to happen or not, and technically
later stages in the atomic_check() may still flag one.
In practice that shouldn't happen as we don't have dynamic
CDCLK implemented for these old platforms.

Regardless it'll be nice to move this old cruft out from
the supposedly platform agnostic plane code.

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