]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: fix ctx init failure for asics without gfx ring
authorLe Ma <le.ma@amd.com>
Thu, 19 Dec 2019 11:26:02 +0000 (19:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Dec 2019 19:56:09 +0000 (14:56 -0500)
commit0c692d336143d3191cb788335034c6657716d42b
tree46b2a0717ff0088f145404562b88bfefaacb2d85
parent3f25f86993ed0d48f2bade7a014e9d8b55494e2f
drm/amdgpu: fix ctx init failure for asics without gfx ring

This workaround does not affect other asics because amdgpu only need expose
one gfx sched to user for now.

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Nirmoy Das <nirmoy.das@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c