]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Add generic capability class
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 4 Sep 2025 12:13:44 +0000 (17:43 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Sep 2025 20:55:41 +0000 (16:55 -0400)
commit1f9ba8ea04efa0e4366eac2d2ebf2deff167bf14
treec02d85c1e8ad628a5c30d6fdf9ff09486dc71b3d
parentc3cdc3bebd1fc610d6051f8e0678c05091fcab4c
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_utils.h [new file with mode: 0644]