FILE
xe_macros.h
File preview with syntax highlighting.
linux-6.19.14/drivers/gpu/drm/xe/xe_macros.h
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2021 Intel Corporation 4 */ 5 6#ifndef _XE_MACROS_H_ 7#define _XE_MACROS_H_ 8 9#include <linux/bug.h> 10 11#define XE_WARN_ON WARN_ON 12 13#define XE_IOCTL_DBG(xe, cond) ({ \ 14 int cond__ = !!(cond); \ 15 if (cond__) \ 16 drm_dbg(&(xe)->drm, \ 17 "Ioctl argument check failed at %s:%d: %s", \ 18 __FILE__, __LINE__, #cond); \ 19 cond__; \ 20}) 21 22#endif
~/
Read-only file preview.