aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
diff options
context:
space:
mode:
authorLiu ChengZhe <[email protected]>2020-06-09 08:44:43 +0000
committerAlex Deucher <[email protected]>2020-07-01 05:59:18 +0000
commit7504d3bbec7da70516a13e34415b92bf5203399a (patch)
tree4aac5a7054c6a031f7848819dfec79c75a2b2a0e /drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c
parentdrm/amd/powerplay: move maximum sustainable clock retrieving to .hw_init (diff)
downloadkernel-7504d3bbec7da70516a13e34415b92bf5203399a.tar.gz
kernel-7504d3bbec7da70516a13e34415b92bf5203399a.zip
drm/amd/amdgpu: handle return value of amdgpu_driver_load_kms
if guest driver failed to enter full GPU access, amdgpu_driver_load_kms will unload kms and free dev->dev_private, drm_dev_register would access null pointer. Driver will enter an error state and can't be unloaded. Signed-off-by: Liu ChengZhe <[email protected]> Reviewed-by: Madhav Chauhan <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gtt_mgr.c')
0 files changed, 0 insertions, 0 deletions