mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
System controller reports different types of events to GFX endpoint for different usecases, add initial support for them. This will be further extended to service those usecases. Signed-off-by: Raag Jadav <raag.jadav@intel.com> Reviewed-by: Mallesh Koujalagi <mallesh.koujalagi@intel.com> Link: https://patch.msgid.link/20260428054826.1202076-3-raag.jadav@intel.com Signed-off-by: Riana Tauro <riana.tauro@intel.com>
25 lines
552 B
C
25 lines
552 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);
|
|
}
|
|
|
|
void xe_sysctrl_event(struct xe_sysctrl *sc);
|
|
int xe_sysctrl_init(struct xe_device *xe);
|
|
void xe_sysctrl_irq_handler(struct xe_device *xe, u32 master_ctl);
|
|
void xe_sysctrl_pm_resume(struct xe_device *xe);
|
|
|
|
#endif
|