summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorLeo (Hanghong) Ma <hanghong.ma@amd.com>2021-03-04 18:26:52 +0300
committerAlex Deucher <alexander.deucher@amd.com>2021-03-05 23:10:49 +0300
commitc79fe9b436690209954f908a41b19e0bf575877a (patch)
tree6ad52254ee00c2470c65dfb8e095e2ec4b323b8d /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentd8cce9306801cfbf709055677f7896905094ff95 (diff)
downloadlinux-c79fe9b436690209954f908a41b19e0bf575877a.tar.xz
drm/amdgpu: add DMUB trace event IRQ source define
[Why & How] We use DMCUB outbox0 interrupt to log DMCUB trace buffer events as Linux kernel traces, so need to add some irq source related defination in the header files; Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
index 563c2293f2a3..051fa8f80853 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -908,6 +908,7 @@ struct amdgpu_device {
struct amdgpu_irq_src vupdate_irq;
struct amdgpu_irq_src pageflip_irq;
struct amdgpu_irq_src hpd_irq;
+ struct amdgpu_irq_src dmub_trace_irq;
/* rings */
u64 fence_context;