intel_vdsc.h (1123B)
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2019 Intel Corporation 4 */ 5 6#ifndef __INTEL_VDSC_H__ 7#define __INTEL_VDSC_H__ 8 9#include <linux/types.h> 10 11enum transcoder; 12struct intel_crtc; 13struct intel_crtc_state; 14struct intel_encoder; 15 16bool intel_dsc_source_support(const struct intel_crtc_state *crtc_state); 17void intel_uncompressed_joiner_enable(const struct intel_crtc_state *crtc_state); 18void intel_dsc_enable(const struct intel_crtc_state *crtc_state); 19void intel_dsc_disable(const struct intel_crtc_state *crtc_state); 20int intel_dsc_compute_params(struct intel_crtc_state *pipe_config); 21void intel_dsc_get_config(struct intel_crtc_state *crtc_state); 22enum intel_display_power_domain 23intel_dsc_power_domain(struct intel_crtc *crtc, enum transcoder cpu_transcoder); 24struct intel_crtc *intel_dsc_get_bigjoiner_secondary(const struct intel_crtc *primary_crtc); 25void intel_dsc_dsi_pps_write(struct intel_encoder *encoder, 26 const struct intel_crtc_state *crtc_state); 27void intel_dsc_dp_pps_write(struct intel_encoder *encoder, 28 const struct intel_crtc_state *crtc_state); 29 30#endif /* __INTEL_VDSC_H__ */