projects
/
platform
/
kernel
/
linux-starfive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
accel/ivpu: Print information about used workarounds
[platform/kernel/linux-starfive.git]
/
drivers
/
accel
/
ivpu
/
ivpu_drv.h
diff --git
a/drivers/accel/ivpu/ivpu_drv.h
b/drivers/accel/ivpu/ivpu_drv.h
index
2adc349
..
6853dfe
100644
(file)
--- a/
drivers/accel/ivpu/ivpu_drv.h
+++ b/
drivers/accel/ivpu/ivpu_drv.h
@@
-76,6
+76,11
@@
#define IVPU_WA(wa_name) (vdev->wa.wa_name)
+#define IVPU_PRINT_WA(wa_name) do { \
+ if (IVPU_WA(wa_name)) \
+ ivpu_dbg(vdev, MISC, "Using WA: " #wa_name "\n"); \
+} while (0)
+
struct ivpu_wa_table {
bool punit_disabled;
bool clear_runtime_mem;