summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
diff options
context:
space:
mode:
authorSunil Khatri <sunil.khatri@amd.com>2024-07-29 21:54:44 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-08-06 17:43:01 +0300
commite89d2fec4cde967445e16e02e406481bac380cc4 (patch)
tree0492e67f1d3b10750f758d022fa8a6676129d1c3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
parent4a4c815b08dc774dde67fb90a0286925f98204af (diff)
downloadlinux-e89d2fec4cde967445e16e02e406481bac380cc4.tar.xz
drm/amdgpu: optimize the padding for gfx10
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. 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> Reviewed-by: Christian König <christian.koenig@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