mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Ville Syrjälä](/assets/img/avatar_default.png)
i915_{save,restore}_state() are actually all about the display. Currently they are split into display part + SWF part. But since the SWF part is also related to the display let's just move that part into its own thing and flip the roles around so that the current display part is the main function. Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20201005171441.26612-1-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
14 lines
309 B
C
14 lines
309 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2019 Intel Corporation
|
|
*/
|
|
|
|
#ifndef __I915_SUSPEND_H__
|
|
#define __I915_SUSPEND_H__
|
|
|
|
struct drm_i915_private;
|
|
|
|
void i915_save_display(struct drm_i915_private *i915);
|
|
void i915_restore_display(struct drm_i915_private *i915);
|
|
|
|
#endif /* __I915_SUSPEND_H__ */
|