drm/amdgpu: assign the cpu/gpu address of fence from ring
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 20 Mar 2020 05:59:48 +0000 (13:59 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 May 2022 14:03:31 +0000 (10:03 -0400)
commitae9fd76fd8abd6ee2cd6f7595d7d7a81ee6a31eb
treee7aef69fdb94759e3d5fc7790191af4f44199437
parent502b6cef8fd3026fe83fc142934fe0673a23c019
drm/amdgpu: assign the cpu/gpu address of fence from ring

assign the cpu/gpu address of fence for the normal or mes ring
from ring structure.

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_fence.c