]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: error out on entity with no run queue
authorNirmoy Das <nirmoy.das@amd.com>
Thu, 9 Jan 2020 11:07:22 +0000 (12:07 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 18:35:03 +0000 (13:35 -0500)
commitbdae21fc4f2442381db025572bccaa5affbb6f3e
tree5e7934607f98c6de0f630ffbc7eb6730b581d0eb
parent8a366bac45b7c8ff678f68f1d3ea95de873ce3b2
drm/amdgpu: error out on entity with no run queue

Disabled HW IP's entity initialized with NULL rq. We should not
process any submit request from userspace for a disabled HW IP.

Signed-off-by: Nirmoy Das <nirmoy.das@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_cs.c