Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: MIT */
0002 /*
0003  * Copyright © 2019 Intel Corporation
0004  */
0005 
0006 #ifndef __INTEL_VDSC_H__
0007 #define __INTEL_VDSC_H__
0008 
0009 #include <linux/types.h>
0010 
0011 enum transcoder;
0012 struct intel_crtc;
0013 struct intel_crtc_state;
0014 struct intel_encoder;
0015 
0016 bool intel_dsc_source_support(const struct intel_crtc_state *crtc_state);
0017 void intel_uncompressed_joiner_enable(const struct intel_crtc_state *crtc_state);
0018 void intel_dsc_enable(const struct intel_crtc_state *crtc_state);
0019 void intel_dsc_disable(const struct intel_crtc_state *crtc_state);
0020 int intel_dsc_compute_params(struct intel_crtc_state *pipe_config);
0021 void intel_dsc_get_config(struct intel_crtc_state *crtc_state);
0022 enum intel_display_power_domain
0023 intel_dsc_power_domain(struct intel_crtc *crtc, enum transcoder cpu_transcoder);
0024 struct intel_crtc *intel_dsc_get_bigjoiner_secondary(const struct intel_crtc *primary_crtc);
0025 void intel_dsc_dsi_pps_write(struct intel_encoder *encoder,
0026                  const struct intel_crtc_state *crtc_state);
0027 void intel_dsc_dp_pps_write(struct intel_encoder *encoder,
0028                 const struct intel_crtc_state *crtc_state);
0029 
0030 #endif /* __INTEL_VDSC_H__ */