Split out the display reset functionality to a separate file to declutter intel_display.c. Rename the functions accordingly. The minor downside is having to expose __intel_display_resume(). Reviewed-by: Gustavo Sousa <gustavo.sousa@intel.com> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/5e98e2fc5f0c09490e02d22250c8201342852288.1681465222.git.jani.nikula@intel.com
14 lines
322 B
C
14 lines
322 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2023 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __INTEL_RESET_H__
|
|
#define __INTEL_RESET_H__
|
|
|
|
struct drm_i915_private;
|
|
|
|
void intel_display_reset_prepare(struct drm_i915_private *i915);
|
|
void intel_display_reset_finish(struct drm_i915_private *i915);
|
|
|
|
#endif /* __INTEL_RESET_H__ */
|