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