linux/drivers/gpu/drm/xe/tests/xe_pci_test.h

/* SPDX-License-Identifier: GPL-2.0 AND MIT */
/*
 * Copyright © 2023 Intel Corporation
 */

#ifndef _XE_PCI_TEST_H_
#define _XE_PCI_TEST_H_

#include <linux/types.h>

#include "xe_platform_types.h"
#include "xe_sriov_types.h"

struct xe_device;
struct xe_graphics_desc;
struct xe_media_desc;

xe_device_fn;
xe_graphics_fn;
xe_media_fn;

int xe_call_for_each_device(xe_device_fn xe_fn);
void xe_call_for_each_graphics_ip(xe_graphics_fn xe_fn);
void xe_call_for_each_media_ip(xe_media_fn xe_fn);

struct xe_pci_fake_data {};

int xe_pci_fake_device_init(struct xe_device *xe);

#endif