aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
diff options
context:
space:
mode:
authorTakashi Iwai <[email protected]>2018-03-30 20:45:11 +0000
committerAlex Deucher <[email protected]>2018-04-03 18:08:46 +0000
commitc60e22f7199b5fe7cee4007ccb3b27bb8a506476 (patch)
tree2701d0ed3e88ce4dade4175ba5da665aa4c0a5fd /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c
parentdrm/amdgpu: Fix PCIe lane width calculation (diff)
downloadkernel-c60e22f7199b5fe7cee4007ccb3b27bb8a506476.tar.gz
kernel-c60e22f7199b5fe7cee4007ccb3b27bb8a506476.zip
drm/amdgpu: Fix memory leaks at amdgpu_init() error path
amdgpu driver checks vgacon_text_force() after some initializations but without cleaning up. This will result in leaks. Move the check of vgacon_text_force() to the beginning of amdgpu_init() for fixing it and also for optimization. Signed-off-by: Takashi Iwai <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions