]> Git Repo - J-linux.git/blob - drivers/gpu/drm/i915/gt/uc/intel_huc_print.h
Merge tag 'vfs-6.13-rc7.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
[J-linux.git] / drivers / gpu / drm / i915 / gt / uc / intel_huc_print.h
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright © 2023 Intel Corporation
4  */
5
6 #ifndef __INTEL_HUC_PRINT__
7 #define __INTEL_HUC_PRINT__
8
9 #include "gt/intel_gt.h"
10 #include "gt/intel_gt_print.h"
11
12 #define huc_printk(_huc, _level, _fmt, ...) \
13         gt_##_level(huc_to_gt(_huc), "HuC: " _fmt, ##__VA_ARGS__)
14 #define huc_err(_huc, _fmt, ...)        huc_printk((_huc), err, _fmt, ##__VA_ARGS__)
15 #define huc_warn(_huc, _fmt, ...)       huc_printk((_huc), warn, _fmt, ##__VA_ARGS__)
16 #define huc_notice(_huc, _fmt, ...)     huc_printk((_huc), notice, _fmt, ##__VA_ARGS__)
17 #define huc_info(_huc, _fmt, ...)       huc_printk((_huc), info, _fmt, ##__VA_ARGS__)
18 #define huc_dbg(_huc, _fmt, ...)        huc_printk((_huc), dbg, _fmt, ##__VA_ARGS__)
19 #define huc_probe_error(_huc, _fmt, ...) huc_printk((_huc), probe_error, _fmt, ##__VA_ARGS__)
20
21 #endif /* __INTEL_HUC_PRINT__ */
This page took 0.02933 seconds and 4 git commands to generate.