]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: add entity error check in amdgpu_ctx_get_entity
authorZhenGuo Yin <zhenguo.yin@amd.com>
Thu, 11 May 2023 09:29:20 +0000 (17:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 15 Jun 2023 15:37:55 +0000 (11:37 -0400)
commit71eaac368dccf0619f7adc012063930e459b133e
tree801e4f52d5583edbcda47e658eb25e7b4bd8e738
parentf88e295e9094deee93066f32a4380307e8cb3dd9
drm/amdgpu: add entity error check in amdgpu_ctx_get_entity

[Why]
UMD is not aware of entity error, and will keep submitting jobs
into the error entity.

[How]
Add entity error check when getting entity from ctx.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: ZhenGuo Yin <zhenguo.yin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c