diff options
author | Ramesh Errabolu <Ramesh.Errabolu@amd.com> | 2021-04-12 18:23:05 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-04-15 16:32:44 -0400 |
commit | ba5b662c36de37060296bc8b2518c51ac2c2d279 (patch) | |
tree | ef426b9c6f65d7944564b2ebc9a5a7cc4043ecf8 /drivers/gpu/drm/amd/include/atomfirmware.h | |
parent | 546aa546b05aef582956f44ad917c0eee2cb8027 (diff) |
drm/amdgpu: Use iterator methods exposed by amdgpu_res_cursor.h in building SG_TABLE's for a VRAM BO
Extend current implementation of SG_TABLE construction method to
allow exportation of sub-buffers of a VRAM BO. This capability will
enable logical partitioning of a VRAM BO into multiple non-overlapping
sub-buffers. One example of this use case is to partition a VRAM BO
into two sub-buffers, one for SRC and another for DST.
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/include/atomfirmware.h')
0 files changed, 0 insertions, 0 deletions