]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: don't oops on failure to load (v2)
authorDave Airlie <airlied@redhat.com>
Tue, 3 Nov 2015 16:07:11 +0000 (11:07 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 3 Nov 2015 16:15:19 +0000 (11:15 -0500)
commitc5c171bc8300434a04c3ed4085b348c5a6796c4e
treed2f99c9b3b0f8d5935cc4526bc20db613c5a5742
parent068b98a66f5c5c779024b846dfb35a8d145ee2c2
drm/amdgpu: don't oops on failure to load (v2)

In two places amdgpu tries to tear down something it hasn't
initalised when failing. This is what happens when you
enable experimental support on topaz which then fails in
ring init.

This patch allows it to fail cleanly.

v2 (agd): split out scheduler change into a separate patch

Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c