]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: define ring structure to access rptr/wptr/fence
authorJack Xiao <Jack.Xiao@amd.com>
Thu, 11 Jun 2020 03:27:47 +0000 (11:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:03:23 +0000 (10:03 -0400)
commit5edca8210887df9fce135fbc630d71d10ba911c6
tree91cfd7c779c08acba94285dcd372e441982e2fdf
parent0db73dddd5e1b0d2939b32d5f49fb24a92e579a8
drm/amdgpu: define ring structure to access rptr/wptr/fence

Define ring structure to access the cpu/gpu address of rptr/wptr/fence
instead of dynamic calculation.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ring.h