]> git.baikalelectronics.ru Git - kernel.git/commit
amd/amdgpu: Limit rlcg write registers only for nv12
authorshaoyunl <shaoyun.liu@amd.com>
Mon, 27 Apr 2020 17:38:28 +0000 (13:38 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 May 2020 19:19:08 +0000 (15:19 -0400)
commit84b1bc2cb4320c872ba8d12d262835412cdb11ef
treefbfc915eaa3d55e2757290c629d9e1b91c5533c1
parentdc49366eb18ffbd0344cb6a612737fdd69b317d2
amd/amdgpu: Limit rlcg write registers only for nv12

Create gfx_v10_0_rlc_funcs_sriov for nv12 with rlcg_write function pointers be initialized
so driver can use RLCG to write aceess CSIB and CP_ME_CNTL registers when nv12 in sriov mode

Signed-off-by: shaoyunl <shaoyun.liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c