2019-04-29 20:29:32 +08:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
|
|
|
/*
|
|
|
|
* Copyright © 2019 Intel Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INTEL_VDSC_H__
|
|
|
|
#define __INTEL_VDSC_H__
|
|
|
|
|
2019-12-10 18:50:51 +08:00
|
|
|
#include <linux/types.h>
|
|
|
|
|
2019-04-29 20:29:32 +08:00
|
|
|
struct intel_encoder;
|
|
|
|
struct intel_crtc_state;
|
|
|
|
|
2019-12-10 18:50:51 +08:00
|
|
|
bool intel_dsc_source_support(struct intel_encoder *encoder,
|
|
|
|
const struct intel_crtc_state *crtc_state);
|
2019-04-29 20:29:32 +08:00
|
|
|
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);
|
2019-11-04 22:14:38 +08:00
|
|
|
int intel_dsc_compute_params(struct intel_encoder *encoder,
|
|
|
|
struct intel_crtc_state *pipe_config);
|
2019-12-10 18:50:52 +08:00
|
|
|
void intel_dsc_get_config(struct intel_encoder *encoder,
|
|
|
|
struct intel_crtc_state *crtc_state);
|
2019-04-29 20:29:32 +08:00
|
|
|
enum intel_display_power_domain
|
|
|
|
intel_dsc_power_domain(const struct intel_crtc_state *crtc_state);
|
|
|
|
|
|
|
|
#endif /* __INTEL_VDSC_H__ */
|