summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu.h
diff options
context:
space:
mode:
authorLijo Lazar <lijo.lazar@amd.com>2025-09-04 15:13:44 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-09-15 23:55:41 +0300
commit1f9ba8ea04efa0e4366eac2d2ebf2deff167bf14 (patch)
treec02d85c1e8ad628a5c30d6fdf9ff09486dc71b3d /drivers/gpu/drm/amd/amdgpu/amdgpu.h
parentc3cdc3bebd1fc610d6051f8e0678c05091fcab4c (diff)
downloadlinux-1f9ba8ea04efa0e4366eac2d2ebf2deff167bf14.tar.xz
drm/amdgpu: Add generic capability class
Define a utility macro for defining capabilities and their attributes. Capability attributes are read-only, write-only, read-write. Signed-off-by: Lijo Lazar <lijo.lazar@amd.com> Acked-by: Hawking Zhang <Hawking.Zhang@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 adb4ea792c38..2a0df4cabb99 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h
@@ -63,6 +63,7 @@
#include "kgd_pp_interface.h"
#include "amd_shared.h"
+#include "amdgpu_utils.h"
#include "amdgpu_mode.h"
#include "amdgpu_ih.h"
#include "amdgpu_irq.h"