]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/i915/dsb: Allow DSB based commits when scalers are in use
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 18 Feb 2025 20:58:49 +0000 (22:58 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 27 Feb 2025 20:44:59 +0000 (22:44 +0200)
commit67093883808b5b39894d8859937be4468eca50db
treebe0d68f26a159b35093bc02b24f8572d8b7d85ea
parentb4ebc06212a3b8906c837bf899b34a2ae36a5e0a
drm/i915/dsb: Allow DSB based commits when scalers are in use

Have DSB perform plane scaler programming as well. Changes
to pfit/pipe scaler are not being done on the dsb since those
take the fastset path. However we do now allow DSB based plane
updates when the pfit/pipe scaler is currently enabled (the
pfit/pipe scaler just won't be touched by the DSB).

Fortunately the hardware issue where some scaler registers
are latched at frame start and some at start of vblank has
been fixed on icl+ (IIRC), and since DSB is tgl+ only we
don't have to do any changes to the DSB vblank evasion.
Not that we handle that hardware issue correctly in the
CPU vblank evasion either...

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250218205850.1422-4-ville.syrjala@linux.intel.com
Reviewed-by: Uma Shankar <uma.shakar@intel.com>
drivers/gpu/drm/i915/display/intel_display.c