mirror of
https://github.com/torvalds/linux.git
synced 2026-04-21 08:13:56 -04:00
Stub out the new page fault layer and add kernel documentation. This is intended as a replacement for the GT page fault layer, enabling multiple producers to hook into a shared page fault consumer interface. v2: - Fix kernel doc typo (checkpatch) - Remove comment around GT (Stuart) - Add explaination around reclaim (Francois) - Add comment around u8 vs enum (Francois) - Include engine instance (Stuart) v3: - Fix XE_PAGEFAULT_TYPE_ATOMIC_ACCESS_VIOLATION kernel doc (Stuart) Signed-off-by: Matthew Brost <matthew.brost@intel.com> Reviewed-by: Lucas De Marchi <lucas.demarchi@intel.com> Tested-by: Francois Dugast <francois.dugast@intel.com> Link: https://patch.msgid.link/20251031165416.2871503-2-matthew.brost@intel.com
20 lines
380 B
C
20 lines
380 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2025 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_PAGEFAULT_H_
|
|
#define _XE_PAGEFAULT_H_
|
|
|
|
struct xe_device;
|
|
struct xe_gt;
|
|
struct xe_pagefault;
|
|
|
|
int xe_pagefault_init(struct xe_device *xe);
|
|
|
|
void xe_pagefault_reset(struct xe_device *xe, struct xe_gt *gt);
|
|
|
|
int xe_pagefault_handler(struct xe_device *xe, struct xe_pagefault *pf);
|
|
|
|
#endif
|