Next version of [1]. Haven't came up with simpler CASF check than we currently have, thus to follow Ville's and Nemesa's remarks dropped the part of changing scaler allocation. Also changed return value in case of failure of intel_allocate_scaler() & skl_pipe_scaler_get_hw_state(), as pointed out by Jani.
BR, Michał [1] https://lore.kernel.org/intel-gfx/[email protected] --- Changelog: v1->v2 - drop obfuscation of CASF check (Ville, Nemesa) - return proper error code (Jani) Michał Grzelak (3): drm/i915/scaler: remove unused plane_state argument drm/i915/scaler: s/i/scaler_id/ again drm/i915/scaler: return -EINVAL instead of -1 drivers/gpu/drm/i915/display/skl_scaler.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) -- 2.45.2
