xref: /linux/drivers/gpu/drm/i915/display/intel_casf.h (revision b61104e7a6349bd2c2b3e2fb3260d87f15eda8f4)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2025 Intel Corporation
4  */
5 
6 #ifndef __INTEL_CASF_H__
7 #define __INTEL_CASF_H__
8 
9 #include <linux/types.h>
10 
11 struct intel_crtc_state;
12 
13 int intel_casf_compute_config(struct intel_crtc_state *crtc_state);
14 void intel_casf_update_strength(struct intel_crtc_state *new_crtc_state);
15 void intel_casf_sharpness_get_config(struct intel_crtc_state *crtc_state);
16 void intel_casf_enable(struct intel_crtc_state *crtc_state);
17 void intel_casf_disable(const struct intel_crtc_state *crtc_state);
18 void intel_casf_scaler_compute_config(struct intel_crtc_state *crtc_state);
19 bool intel_casf_needs_scaler(const struct intel_crtc_state *crtc_state);
20 
21 #endif /* __INTEL_CASF_H__ */
22