Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2020 Intel Corporation
0004  */
0005 #ifndef INTEL_SCALER_H
0006 #define INTEL_SCALER_H
0007 
0008 #include <linux/types.h>
0009 
0010 enum drm_scaling_filter;
0011 struct drm_i915_private;
0012 struct intel_crtc_state;
0013 struct intel_plane_state;
0014 struct intel_plane;
0015 enum pipe;
0016 
0017 int skl_update_scaler_crtc(struct intel_crtc_state *crtc_state);
0018 
0019 int skl_update_scaler_plane(struct intel_crtc_state *crtc_state,
0020                 struct intel_plane_state *plane_state);
0021 
0022 void skl_pfit_enable(const struct intel_crtc_state *crtc_state);
0023 
0024 void skl_program_plane_scaler(struct intel_plane *plane,
0025                   const struct intel_crtc_state *crtc_state,
0026                   const struct intel_plane_state *plane_state);
0027 void skl_detach_scalers(const struct intel_crtc_state *crtc_state);
0028 void skl_scaler_disable(const struct intel_crtc_state *old_crtc_state);
0029 #endif