diff options
author | Sunil Khatri <sunil.khatri@amd.com> | 2024-07-31 15:57:28 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-08-06 17:44:37 +0300 |
commit | f59902ffcc43ce7e1db5d0c4dfee37ec2a1bae0c (patch) | |
tree | f111d07aba1900521bf20bc92690766d3c997617 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | |
parent | 28574b08c70e56d34d6f6379326a860b96749051 (diff) | |
download | linux-f59902ffcc43ce7e1db5d0c4dfee37ec2a1bae0c.tar.xz |
drm/amdgpu: optimize the padding for gfx12
Adding NOP packets one by one in the ring
does not use the CP efficiently.
Solution:
Use CP optimization while adding NOP packet's so PFP
can discard NOP packets based on information of count
from the Header instead of fetching all NOP packets
one by one.
Reviewed-by: Christian König <christian.koenig@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Cc: Tvrtko Ursulin <tursulin@igalia.com>
Cc: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Sunil Khatri <sunil.khatri@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c')
0 files changed, 0 insertions, 0 deletions