]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: mark the partial job as preempted in mcbp unit test
authorJack Xiao <Jack.Xiao@amd.com>
Wed, 23 Jan 2019 05:54:26 +0000 (13:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:58:21 +0000 (18:58 -0500)
commit9e0f0aa552041bc521f7446b15cf5a422e8b6cf6
treeb80d1686bafa7785872327b61ca436041c0fff63
parent725f5f9b163f14c43309e1f8522aa12c21f7262e
drm/amdgpu: mark the partial job as preempted in mcbp unit test

In mcbp unit test, the test should detect the preempted job which may
be a partial execution ib and mark it as preempted; so that the gfx
block can correctly generate PM4 frame.

Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c