1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2024 Intel Corporation 4 */ 5 6 #ifndef __INTEL_PFIT_H__ 7 #define __INTEL_PFIT_H__ 8 9 enum drm_mode_status; 10 struct drm_display_mode; 11 struct drm_connector_state; 12 struct intel_crtc_state; 13 struct intel_display; 14 enum intel_output_format; 15 16 int intel_pfit_compute_config(struct intel_crtc_state *crtc_state, 17 const struct drm_connector_state *conn_state); 18 void ilk_pfit_enable(const struct intel_crtc_state *crtc_state); 19 void ilk_pfit_disable(const struct intel_crtc_state *old_crtc_state); 20 void ilk_pfit_get_config(struct intel_crtc_state *crtc_state); 21 void i9xx_pfit_enable(const struct intel_crtc_state *crtc_state); 22 void i9xx_pfit_disable(const struct intel_crtc_state *old_crtc_state); 23 void i9xx_pfit_get_config(struct intel_crtc_state *crtc_state); 24 enum drm_mode_status 25 intel_pfit_mode_valid(struct intel_display *display, 26 const struct drm_display_mode *mode, 27 enum intel_output_format output_format, 28 int num_joined_pipes); 29 #endif /* __INTEL_PFIT_H__ */ 30