WIP FPC-III support
[linux/fpc-iii.git] / drivers / gpu / drm / i915 / display / intel_vdsc.h
blob65d301c23580752d1bb0c2fe2ce0f0d08a4e22b7
1 /* SPDX-License-Identifier: MIT */
2 /*
3 * Copyright © 2019 Intel Corporation
4 */
6 #ifndef __INTEL_VDSC_H__
7 #define __INTEL_VDSC_H__
9 #include <linux/types.h>
11 struct intel_encoder;
12 struct intel_crtc_state;
14 bool intel_dsc_source_support(const struct intel_crtc_state *crtc_state);
15 void intel_dsc_enable(struct intel_encoder *encoder,
16 const struct intel_crtc_state *crtc_state);
17 void intel_dsc_disable(const struct intel_crtc_state *crtc_state);
18 int intel_dsc_compute_params(struct intel_encoder *encoder,
19 struct intel_crtc_state *pipe_config);
20 void intel_dsc_get_config(struct intel_crtc_state *crtc_state);
21 enum intel_display_power_domain
22 intel_dsc_power_domain(const struct intel_crtc_state *crtc_state);
24 #endif /* __INTEL_VDSC_H__ */