mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-27 20:22:02 -04:00
Add resume handling for System Controller to support system (S3/S4) and runtime power management transitions. On resume, restore SoC remapper configuration and mailbox interface to re‑establish communication with firmware. Signed-off-by: Anoop Vijay <anoop.c.vijay@intel.com> Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Reviewed-by: Badal Nilawar <badal.nilawar@intel.com> Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Link: https://patch.msgid.link/20260327131837.2192929-15-anoop.c.vijay@intel.com
23 lines
439 B
C
23 lines
439 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2026 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_SYSCTRL_H_
|
|
#define _XE_SYSCTRL_H_
|
|
|
|
#include <linux/container_of.h>
|
|
|
|
#include "xe_device_types.h"
|
|
#include "xe_sysctrl_types.h"
|
|
|
|
static inline struct xe_device *sc_to_xe(struct xe_sysctrl *sc)
|
|
{
|
|
return container_of(sc, struct xe_device, sc);
|
|
}
|
|
|
|
int xe_sysctrl_init(struct xe_device *xe);
|
|
void xe_sysctrl_pm_resume(struct xe_device *xe);
|
|
|
|
#endif
|