mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 15:59:33 +07:00
fb5f432a66
i915_drv.c is a fairly big file, and having very specific vlv/chv suspend/resume code in it is a distraction. Split it out to a new vlv_suspend.[ch] file. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200212144058.5686-1-jani.nikula@intel.com
19 lines
458 B
C
19 lines
458 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2020 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __VLV_SUSPEND_H__
|
|
#define __VLV_SUSPEND_H__
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct drm_i915_private;
|
|
|
|
int vlv_suspend_init(struct drm_i915_private *i915);
|
|
void vlv_suspend_cleanup(struct drm_i915_private *i915);
|
|
int vlv_suspend_complete(struct drm_i915_private *i915);
|
|
int vlv_resume_prepare(struct drm_i915_private *i915, bool rpm_resume);
|
|
|
|
#endif /* __VLV_SUSPEND_H__ */
|