drm/amdgpu: skip sdma1 in nv_allowed_read_registers list for van gogh (v2)
authorHuang Rui <ray.huang@amd.com>
Fri, 28 Aug 2020 14:54:32 +0000 (22:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 5 Oct 2020 19:14:03 +0000 (15:14 -0400)
commitfced3c3a4655a55db34b2729007dee554e4c2306
tree568237bc4f94c11fbb532cca53f7ee9f3cdf4376
parent026570e633105023a9b8ea2d296df5abd2bf1134
drm/amdgpu: skip sdma1 in nv_allowed_read_registers list for van gogh (v2)

Van gogh only has one sdma.

v2: use num_instances rather than APU flag

Signed-off-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/nv.c