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