diff options
author | Rodrigo Siqueira <siqueira@igalia.com> | 2025-04-21 16:12:18 -0600 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2025-04-30 18:04:29 -0400 |
commit | 9718f7457dba2e98dab256217814296b5ad47ee4 (patch) | |
tree | 3c1956a9851200c7b626bfbcbea6e84afc587d50 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | 5a2658fda44f67003e7587547da6ac5decc97072 (diff) |
drm/amdgpu/gfx: Introduce helpers handling CSB manipulation
From GFX6 to GFX11, there is a function for getting the CSB buffer to be
put into the hardware. Three common parts are duplicated in all of these
GFX functions:
1. Prepare the CSB preamble.
2. Parser the CS data.
3. End the CSB preamble.
This commit creates helpers to be used from GFX6 to GFX11.
Signed-off-by: Rodrigo Siqueira <siqueira@igalia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions