mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

Group panel fitter code in one place. Rename *_get_pfit_config() to *_pfit_get_config() while at it. Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/d1f18b2c0d0ae07a3f38fc859b10a9de2b9c5c24.1740564009.git.jani.nikula@intel.com
21 lines
740 B
C
21 lines
740 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2024 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_PFIT_H__
|
|
#define __INTEL_PFIT_H__
|
|
|
|
struct drm_connector_state;
|
|
struct intel_crtc_state;
|
|
|
|
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);
|
|
|
|
#endif /* __INTEL_PFIT_H__ */
|