23 lines
622 B
C
23 lines
622 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2026 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_RAS_H_
|
|
#define _XE_RAS_H_
|
|
|
|
#include <linux/types.h>
|
|
#include "xe_ras_types.h"
|
|
|
|
struct xe_device;
|
|
struct xe_sysctrl_event_response;
|
|
|
|
void xe_ras_counter_threshold_crossed(struct xe_device *xe,
|
|
struct xe_sysctrl_event_response *response);
|
|
int xe_ras_get_counter(struct xe_device *xe, u8 severity, u8 component, u32 *value);
|
|
int xe_ras_clear_counter(struct xe_device *xe, u8 severity, u8 component);
|
|
void xe_ras_init(struct xe_device *xe);
|
|
enum xe_ras_recovery_action xe_ras_process_errors(struct xe_device *xe);
|
|
|
|
#endif
|