1379bc100SJani Nikula /* SPDX-License-Identifier: MIT */ 2379bc100SJani Nikula /* 3379bc100SJani Nikula * Copyright © 2019 Intel Corporation 4379bc100SJani Nikula */ 5379bc100SJani Nikula 6379bc100SJani Nikula #ifndef __INTEL_VDSC_H__ 7379bc100SJani Nikula #define __INTEL_VDSC_H__ 8379bc100SJani Nikula 9deaaff49SJani Nikula #include <linux/types.h> 10deaaff49SJani Nikula 1132f6734cSVille Syrjälä enum transcoder; 1232f6734cSVille Syrjälä struct intel_crtc; 13379bc100SJani Nikula struct intel_crtc_state; 1432f6734cSVille Syrjälä struct intel_encoder; 15379bc100SJani Nikula 168a029c11SManasi Navare bool intel_dsc_source_support(const struct intel_crtc_state *crtc_state); 17d961eb20SAnimesh Manna void intel_uncompressed_joiner_enable(const struct intel_crtc_state *crtc_state); 183126977dSVille Syrjälä void intel_dsc_enable(const struct intel_crtc_state *crtc_state); 19379bc100SJani Nikula void intel_dsc_disable(const struct intel_crtc_state *crtc_state); 203126977dSVille Syrjälä int intel_dsc_compute_params(struct intel_crtc_state *pipe_config); 218a029c11SManasi Navare void intel_dsc_get_config(struct intel_crtc_state *crtc_state); 22379bc100SJani Nikula enum intel_display_power_domain 2332f6734cSVille Syrjälä intel_dsc_power_domain(struct intel_crtc *crtc, enum transcoder cpu_transcoder); 2417203224SJani Nikula struct intel_crtc *intel_dsc_get_bigjoiner_secondary(const struct intel_crtc *primary_crtc); 25*08a3a79eSStanislav Lisovskiy int intel_dsc_get_num_vdsc_instances(const struct intel_crtc_state *crtc_state); 263126977dSVille Syrjälä void intel_dsc_dsi_pps_write(struct intel_encoder *encoder, 273126977dSVille Syrjälä const struct intel_crtc_state *crtc_state); 283126977dSVille Syrjälä void intel_dsc_dp_pps_write(struct intel_encoder *encoder, 293126977dSVille Syrjälä const struct intel_crtc_state *crtc_state); 30379bc100SJani Nikula 31379bc100SJani Nikula #endif /* __INTEL_VDSC_H__ */ 32