drm/amdgpu: assign the doorbell index to mes ring
authorJack Xiao <Jack.Xiao@amd.com>
Fri, 26 Apr 2019 10:58:41 +0000 (18:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:07 +0000 (01:59 -0400)
commit205192327223742ec2c33ec1b260f9e648a5ea0e
tree00db4f5e48e9a93b2697899577f1776a053ca605
parent71ac5c1fac35f74748e7b7b82f732324ba8b3b7d
drm/amdgpu: assign the doorbell index to mes ring

MES ring will use the assigned doorbell index for
command submission.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Acked-by: Alex Deucher <alexander.deucher@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_doorbell.h
drivers/gpu/drm/amd/amdgpu/nv.c