]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
drm/amdgpu/display: fix dal_allocation documentation
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 23 Apr 2021 20:43:18 +0000 (16:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Apr 2021 03:36:06 +0000 (23:36 -0400)
Add missing structure elements.

Fixes: 1ace37b873c2 ("drm/amdgpu/display: Implement functions to let DC allocate GPU memory")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h

index 47c658ca3535c9249e085ee373b7de010efde6ad..d3f7e026ceedcbc138083d7870f95fc1a915b546 100644 (file)
@@ -135,6 +135,10 @@ struct amdgpu_dm_backlight_caps {
 
 /**
  * struct dal_allocation - Tracks mapped FB memory for SMU communication
+ * @list: list of dal allocations
+ * @bo: GPU buffer object
+ * @cpu_ptr: CPU virtual address of the GPU buffer object
+ * @gpu_addr: GPU virtual address of the GPU buffer object
  */
 struct dal_allocation {
        struct list_head list;