/* $NetBSD: intel_vdsc.h,v 1.2 2021/12/18 23:45:30 riastradh Exp $ */ /* SPDX-License-Identifier: MIT */ /* * Copyright © 2019 Intel Corporation */ #ifndef __INTEL_VDSC_H__ #define __INTEL_VDSC_H__ #include <linux/types.h> struct intel_encoder; struct intel_crtc_state; bool intel_dsc_source_support(struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state); void intel_dsc_enable(struct intel_encoder *encoder, const struct intel_crtc_state *crtc_state); void intel_dsc_disable(const struct intel_crtc_state *crtc_state); int intel_dsc_compute_params(struct intel_encoder *encoder, struct intel_crtc_state *pipe_config); void intel_dsc_get_config(struct intel_encoder *encoder, struct intel_crtc_state *crtc_state); enum intel_display_power_domain intel_dsc_power_domain(const struct intel_crtc_state *crtc_state); #endif /* __INTEL_VDSC_H__ */ |