OSDN Git Service

drm/amdgpu: indirect register access for nv12 sriov
authorPeng Ju Zhou <PengJu.Zhou@amd.com>
Tue, 30 Mar 2021 10:27:15 +0000 (18:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Apr 2021 20:50:13 +0000 (16:50 -0400)
commit5d23851029b78fb6d6d56a40300676d49a0ce609
tree2b98ca73bf62d0522d0d0de5bf83334073259d05
parent77eabc6f5975dafeb76f7c7c2451282b91e9f5b6
drm/amdgpu: indirect register access for nv12 sriov

using the control bits got from host to control registers access.

Signed-off-by: Peng Ju Zhou <PengJu.Zhou@amd.com>
Reviewed-by: Emily.Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h