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