Re: [PATCH] accel/amdxdna: Add include interrupt.h to amdxdna_mailbox.c

From: Jeffrey Hugo
Date: Fri Dec 13 2024 - 12:05:58 EST


On 12/13/2024 9:38 AM, Lizhi Hou wrote:
From: Mike Lothian <mike@xxxxxxxxxxxxxx>

For amdxdna_mailbox.c, linux/interrupt.h is indirectly included by
trace/events/amdxdna.h. So if TRACING is disabled, driver compiling will
fail.

Fixes: b87f920b9344 ("accel/amdxdna: Support hardware mailbox")
Reported-by: Mike Lothian <mike@xxxxxxxxxxxxxx>
Closes: https://lore.kernel.org/dri-devel/CAHbf0-E+Z2O7rW-x+-EKNQ-nLbf=_ohaNzXxE7WD2cj9kFJERQ@xxxxxxxxxxxxxx/
Signed-off-by: Mike Lothian <mike@xxxxxxxxxxxxxx>
Reviewed-by: Mario Limonciello <mario.limonciello@xxxxxxx>
Reviewed-by: Jeffrey Hugo <quic_jhugo@xxxxxxxxxxx>
Signed-off-by: Lizhi Hou <lizhi.hou@xxxxxxx>

Pushed to drm-misc-next

-Jeff