mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-27 15:50:48 +00:00

Some of our VF functions, even if they take a GT pointer, work only on primary GT and really are tile-related and would be better to keep them separate from the rest of true GT-oriented functions. Move them to a file and update to take a tile pointer instead. Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Tomasz Lis <tomasz.lis@intel.com> Reviewed-by: Tomasz Lis <tomasz.lis@intel.com> Link: https://lore.kernel.org/r/20250602103325.549-3-michal.wajdeczko@intel.com
19 lines
453 B
C
19 lines
453 B
C
/* SPDX-License-Identifier: MIT */
|
|
/*
|
|
* Copyright © 2025 Intel Corporation
|
|
*/
|
|
|
|
#ifndef _XE_TILE_SRIOV_VF_H_
|
|
#define _XE_TILE_SRIOV_VF_H_
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct xe_tile;
|
|
|
|
int xe_tile_sriov_vf_prepare_ggtt(struct xe_tile *tile);
|
|
int xe_tile_sriov_vf_balloon_ggtt_locked(struct xe_tile *tile);
|
|
void xe_tile_sriov_vf_deballoon_ggtt_locked(struct xe_tile *tile);
|
|
void xe_tile_sriov_vf_fixup_ggtt_nodes(struct xe_tile *tile, s64 shift);
|
|
|
|
#endif
|