Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.11-rc1 34 lines 1.0 kB view raw
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2023 Intel Corporation 4 */ 5 6#ifndef _XE_GT_SRIOV_PRINTK_H_ 7#define _XE_GT_SRIOV_PRINTK_H_ 8 9#include "xe_gt_printk.h" 10#include "xe_sriov_printk.h" 11 12#define __xe_gt_sriov_printk(gt, _level, fmt, ...) \ 13 xe_gt_printk((gt), _level, "%s" fmt, xe_sriov_printk_prefix(gt_to_xe(gt)), ##__VA_ARGS__) 14 15#define xe_gt_sriov_err(_gt, _fmt, ...) \ 16 __xe_gt_sriov_printk(_gt, err, _fmt, ##__VA_ARGS__) 17 18#define xe_gt_sriov_notice(_gt, _fmt, ...) \ 19 __xe_gt_sriov_printk(_gt, notice, _fmt, ##__VA_ARGS__) 20 21#define xe_gt_sriov_info(_gt, _fmt, ...) \ 22 __xe_gt_sriov_printk(_gt, info, _fmt, ##__VA_ARGS__) 23 24#define xe_gt_sriov_dbg(_gt, _fmt, ...) \ 25 __xe_gt_sriov_printk(_gt, dbg, _fmt, ##__VA_ARGS__) 26 27/* for low level noisy debug messages */ 28#ifdef CONFIG_DRM_XE_DEBUG_SRIOV 29#define xe_gt_sriov_dbg_verbose(_gt, _fmt, ...) xe_gt_sriov_dbg(_gt, _fmt, ##__VA_ARGS__) 30#else 31#define xe_gt_sriov_dbg_verbose(_gt, _fmt, ...) typecheck(struct xe_gt *, (_gt)) 32#endif 33 34#endif