]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/i915/scaler: Use crtc_state to setup plane or pipe scaler
authorMitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Mon, 20 Jan 2025 17:22:03 +0000 (22:52 +0530)
committerAnkit Nautiyal <ankit.k.nautiyal@intel.com>
Fri, 24 Jan 2025 02:20:32 +0000 (07:50 +0530)
commitf42da9aa863eaea4e37865959ed81a60c3df72b5
treee46a571df47758815ce8342e2d24770360e8df75
parent8c27c4e90e3670970f51bf35051c58bf5b05ed49
drm/i915/scaler: Use crtc_state to setup plane or pipe scaler

Pass crtc_state to intel_atomic_setup_scaler, this will help to
check if pch_pfit enabled or not and also will be useful to pass
scaler_state with the same which will be used later to store
hscale and vscale values.

-- v2:
- Fix typos. (Ankit)

Signed-off-by: Mitul Golani <mitulkumar.ajitkumar.golani@intel.com>
Reviewed-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20250120172209.188488-3-mitulkumar.ajitkumar.golani@intel.com
drivers/gpu/drm/i915/display/skl_scaler.c