FILE
intel_vdsc.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/i915/display/intel_vdsc.h
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#include <linux/types.h> 10 11struct drm_printer; 12 13enum transcoder; 14struct intel_crtc; 15struct intel_crtc_state; 16struct intel_dsb; 17struct intel_encoder; 18 19bool intel_dsc_source_support(const struct intel_crtc_state *crtc_state); 20void intel_uncompressed_joiner_enable(const struct intel_crtc_state *crtc_state); 21void intel_dsc_enable(const struct intel_crtc_state *crtc_state); 22void intel_dsc_disable(const struct intel_crtc_state *crtc_state); 23int intel_dsc_compute_params(struct intel_crtc_state *pipe_config); 24void intel_dsc_enable_on_crtc(struct intel_crtc_state *crtc_state); 25bool intel_dsc_enabled_on_link(const struct intel_crtc_state *crtc_state); 26void intel_dsc_get_config(struct intel_crtc_state *crtc_state); 27enum intel_display_power_domain 28intel_dsc_power_domain(struct intel_crtc *crtc, enum transcoder cpu_transcoder); 29struct intel_crtc *intel_dsc_get_bigjoiner_secondary(const struct intel_crtc *primary_crtc); 30int intel_dsc_get_num_vdsc_instances(const struct intel_crtc_state *crtc_state); 31void intel_dsc_dsi_pps_write(struct intel_encoder *encoder, 32 const struct intel_crtc_state *crtc_state); 33void intel_dsc_dp_pps_write(struct intel_encoder *encoder, 34 const struct intel_crtc_state *crtc_state); 35void intel_dsc_su_et_parameters_configure(struct intel_dsb *dsb, struct intel_encoder *encoder, 36 const struct intel_crtc_state *crtc_state, int su_lines); 37void intel_vdsc_state_dump(struct drm_printer *p, int indent, 38 const struct intel_crtc_state *crtc_state); 39int intel_vdsc_min_cdclk(const struct intel_crtc_state *crtc_state); 40unsigned int intel_vdsc_prefill_lines(const struct intel_crtc_state *crtc_state); 41 42#endif /* __INTEL_VDSC_H__ */
~/
Read-only file preview.