OSDN Git Service

drm/amdgpu: give warning before sleep in kiq_r/wreg
authorMonk Liu <Monk.Liu@amd.com>
Mon, 5 Mar 2018 11:26:36 +0000 (19:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 Mar 2018 21:10:13 +0000 (16:10 -0500)
commitdccf1eff352a8803eea4a8785ed3eb7e962d196f
tree1fa231e52b00e2f07171a0535588a8bdd8b18f09
parent59dd47728625e6f8e77f888d00596c9fb7057540
drm/amdgpu: give warning before sleep in kiq_r/wreg

to catch error that may schedule in atomic context early on

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