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.14-rc5 31 lines 793 B view raw
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* 3 * Copyright (C) 2020-2024 Intel Corporation 4 */ 5 6#ifndef __IVPU_FW_LOG_H__ 7#define __IVPU_FW_LOG_H__ 8 9#include <linux/types.h> 10 11#include "ivpu_drv.h" 12 13#define IVPU_FW_LOG_DEFAULT 0 14#define IVPU_FW_LOG_DEBUG 1 15#define IVPU_FW_LOG_INFO 2 16#define IVPU_FW_LOG_WARN 3 17#define IVPU_FW_LOG_ERROR 4 18#define IVPU_FW_LOG_FATAL 5 19 20#define IVPU_FW_VERBOSE_BUFFER_SMALL_SIZE SZ_1M 21#define IVPU_FW_VERBOSE_BUFFER_LARGE_SIZE SZ_8M 22#define IVPU_FW_CRITICAL_BUFFER_SIZE SZ_512K 23 24extern unsigned int ivpu_fw_log_level; 25 26void ivpu_fw_log_print(struct ivpu_device *vdev, bool only_new_msgs, struct drm_printer *p); 27void ivpu_fw_log_mark_read(struct ivpu_device *vdev); 28void ivpu_fw_log_reset(struct ivpu_device *vdev); 29 30 31#endif /* __IVPU_FW_LOG_H__ */