Skip to content
Commit 3c0a7eac authored by Jonathan Kim's avatar Jonathan Kim Committed by Greg Kroah-Hartman
Browse files

drm/amdkfd: only flush mes process context if mes support is there

[ Upstream commit 24149412 ]

Fix up on mes process context flush to prevent non-mes devices from
spamming error messages or running into undefined behaviour during
process termination.

Fixes: bd33bb14

 ("drm/amdkfd: fix mes set shader debugger process management")
Signed-off-by: default avatarJonathan Kim <jonathan.kim@amd.com>
Reviewed-by: default avatarEric Huang <jinhuieric.huang@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 8de8f000
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment