]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Change kiq initialize/reset sequence on gfx8
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 22 Aug 2018 09:58:31 +0000 (17:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 20:11:56 +0000 (15:11 -0500)
commit5f14cc33981b926fbeed92b9e854396724a9b5b1
treea765e7d0bd739139b5790a15ac57c9c3c12dbbff
parent7664108671c3cdfb36aa498e709c98b5ab4906a8
drm/amdgpu: Change kiq initialize/reset sequence on gfx8

1. initialize kiq before initialize gfx ring.
2. set kiq ring ready immediately when kiq initialize
   successfully.
3. split function gfx_v8_0_kiq_resume into two functions.
   gfx_v8_0_kiq_resume is for kiq initialize.
   gfx_v8_0_kcq_resume is for kcq initialize.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c