drm/i915/psr: Move plane sel fetch configuration into plane source files
authorJouni Högander <jouni.hogander@intel.com>
Mon, 20 Nov 2023 08:26:05 +0000 (10:26 +0200)
committerJouni Högander <jouni.hogander@intel.com>
Mon, 27 Nov 2023 05:36:25 +0000 (07:36 +0200)
commitb1f5279b5981f9ed851163ee661692f42397982f
treec4c7dff1efe17a5d369408d77cc84530b86312ec
parentb90fccfb5cde406365c33aa21ee87da83bbfca02
drm/i915/psr: Move plane sel fetch configuration into plane source files

Currently selective fetch configuration for planes is implemented in psr
code. More suitable place for this code is where everything else is
configured for planes -> move it into skl_universal_plane.c and
intel_cursor.c. This also allows us to drop hooks for cursor handling.

v3: Checkpatch warnings fixed
v2: Removed setting sel_fetch_area->y1/y2 as -1

Signed-off-by: Jouni Högander <jouni.hogander@intel.com>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231120082606.3156488-2-jouni.hogander@intel.com
drivers/gpu/drm/i915/display/intel_cursor.c
drivers/gpu/drm/i915/display/intel_psr.c
drivers/gpu/drm/i915/display/intel_psr.h
drivers/gpu/drm/i915/display/skl_universal_plane.c