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, 20 May 2021 02:28:51 +0000 (22:28 -0400)
Add missing structure elements.

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

index 4712984..c6f79c7 100644 (file)
@@ -139,6 +139,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;