xref: /linux/drivers/gpu/drm/i915/display/intel_vdsc.h (revision 6fdcba32711044c35c0e1b094cbd8f3f0b4472c9)
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 struct intel_encoder;
10 struct intel_crtc_state;
11 struct intel_dp;
12 
13 void intel_dsc_enable(struct intel_encoder *encoder,
14 		      const struct intel_crtc_state *crtc_state);
15 void intel_dsc_disable(const struct intel_crtc_state *crtc_state);
16 int intel_dp_compute_dsc_params(struct intel_dp *intel_dp,
17 				struct intel_crtc_state *pipe_config);
18 enum intel_display_power_domain
19 intel_dsc_power_domain(const struct intel_crtc_state *crtc_state);
20 
21 #endif /* __INTEL_VDSC_H__ */
22