drm/amdgpu/sriov:init csb for gfxv9
authorMonk Liu <Monk.Liu@amd.com>
Fri, 15 Sep 2017 08:58:08 +0000 (16:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 19:14:12 +0000 (15:14 -0400)
commitf840cc5f8447db7efff447a25bcddbf084bd3e2e
tree5378f439fc6224ed8ece8a11b480ba47bc806900
parent6e132ca0bb62b30c0eb053d99f75bb827f7876f5
drm/amdgpu/sriov:init csb for gfxv9

RLC need CSB registers initiated under SRIOV during world switch
otherwise the clear state buffer behav will not be recovered to
current VF scheme after switch back

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c