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 | |
10 | enum drm_scaling_filter; |
11 | enum pipe; |
12 | struct drm_i915_private; |
13 | struct intel_crtc; |
14 | struct intel_crtc_state; |
15 | struct intel_plane; |
16 | struct intel_plane_state; |
17 | |
18 | int skl_update_scaler_crtc(struct intel_crtc_state *crtc_state); |
19 | |
20 | int skl_update_scaler_plane(struct intel_crtc_state *crtc_state, |
21 | struct intel_plane_state *plane_state); |
22 | |
23 | int intel_atomic_setup_scalers(struct drm_i915_private *dev_priv, |
24 | struct intel_crtc *intel_crtc, |
25 | struct intel_crtc_state *crtc_state); |
26 | |
27 | void skl_pfit_enable(const struct intel_crtc_state *crtc_state); |
28 | |
29 | void skl_program_plane_scaler(struct intel_plane *plane, |
30 | const struct intel_crtc_state *crtc_state, |
31 | const struct intel_plane_state *plane_state); |
32 | void skl_detach_scalers(const struct intel_crtc_state *crtc_state); |
33 | void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state); |
34 | |
35 | void skl_scaler_get_config(struct intel_crtc_state *crtc_state); |
36 | |
37 | #endif |
38 |