OSDN Git Service

drm/amdgpu: Fix KFD-related kernel oops on Hawaii
authorFelix Kuehling <Felix.Kuehling@amd.com>
Thu, 5 Sep 2019 23:22:02 +0000 (19:22 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Sep 2019 15:10:06 +0000 (10:10 -0500)
commitd950800e793cf06a8e261737d2d8b0114ab3351b
tree33d8846290b9a2b7a37f219dd54f99149d2c085d
parent708901a6664fdc8a39d7946a3995d46eca4fb3e9
drm/amdgpu: Fix KFD-related kernel oops on Hawaii

Hawaii needs to flush caches explicitly, submitting an IB in a user
VMID from kernel mode. There is no s_fence in this case.

Fixes: eb3961a57424 ("drm/amdgpu: remove fence context from the job")
Signed-off-by: Felix Kuehling <Felix.Kuehling@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_ib.c