[PATCH 0/3] Make casf updates atomic and dsb ready

Nemesa Garg
2025-12-23T08:16:29Z

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=a, Size: 959 bytes --]

The existing implementation for casf scaler re‑implemented
parts of skl_scaler logic and programmed registers from
pre‑plane update hooks, which caused:
- updates were not atomic.
- prevented execution via Display State Buffer.
- computed state was late.

This series fixes these issues by:
- consolidating common logic into skl_scaler.c.
- moving computation into crtc_compute_config().
- Create a common wrapper for pfit and casf so
that whenever pipe scaler is done through dsb
casf can also be dsb compatible.

Nemesa Garg (3):
drm/i915/display: Move casf_compute_config
drm/i915/display: Introduce skl_pipe_scaler_setup()
drm/i915/display: Common wrapper for casf and pfit

drivers/gpu/drm/i915/display/intel_display.c | 36 +++-----
drivers/gpu/drm/i915/display/skl_scaler.c | 96 +++++++++++++-------
drivers/gpu/drm/i915/display/skl_scaler.h | 5 +
3 files changed, 81 insertions(+), 56 deletions(-)

--
2.25.1