Skip to content

Commit

Permalink
drm/amdgpu/display: fix dal_allocation documentation
Browse files Browse the repository at this point in the history
Add missing structure elements.

Fixes: 0dd7953 ("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>
  • Loading branch information
Alex Deucher committed May 20, 2021
1 parent 50610b7 commit cbd4945
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit cbd4945

Please sign in to comment.