Add new file intel_modeset_verify.c for high level modeset verification code to declutter intel_display.h. The new file is supposed to be about crtc/encoder/connector verification; the state verification for very specific functionality such as plls or wm should be placed next to the code it verifies. Fix some minor checkpatch issues while at it. v2: Rebase Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/b9b47c14316a9edb772a8b8f934eabe7e928dd76.1655372759.git.jani.nikula@intel.com
21 lines
606 B
C
21 lines
606 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2022 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_MODESET_VERIFY_H__
|
|
#define __INTEL_MODESET_VERIFY_H__
|
|
|
|
struct drm_i915_private;
|
|
struct intel_atomic_state;
|
|
struct intel_crtc;
|
|
struct intel_crtc_state;
|
|
|
|
void intel_modeset_verify_crtc(struct intel_crtc *crtc,
|
|
struct intel_atomic_state *state,
|
|
struct intel_crtc_state *old_crtc_state,
|
|
struct intel_crtc_state *new_crtc_state);
|
|
void intel_modeset_verify_disabled(struct drm_i915_private *dev_priv,
|
|
struct intel_atomic_state *state);
|
|
|
|
#endif /* __INTEL_MODESET_VERIFY_H__ */
|