skl_scaler.h (843B)
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2020 Intel Corporation 4 */ 5#ifndef INTEL_SCALER_H 6#define INTEL_SCALER_H 7 8#include <linux/types.h> 9 10enum drm_scaling_filter; 11struct drm_i915_private; 12struct intel_crtc_state; 13struct intel_plane_state; 14struct intel_plane; 15enum pipe; 16 17int skl_update_scaler_crtc(struct intel_crtc_state *crtc_state); 18 19int skl_update_scaler_plane(struct intel_crtc_state *crtc_state, 20 struct intel_plane_state *plane_state); 21 22void skl_pfit_enable(const struct intel_crtc_state *crtc_state); 23 24void skl_program_plane_scaler(struct intel_plane *plane, 25 const struct intel_crtc_state *crtc_state, 26 const struct intel_plane_state *plane_state); 27void skl_detach_scalers(const struct intel_crtc_state *crtc_state); 28void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state); 29#endif