linux/drivers/gpu/drm/amd
Dan Carpenter 420c81c84b drm/amdgpu: check for allocation failure in amdgpu_vkms_sw_init()
Check whether the kcalloc() fails and return -ENOMEM if it does.

Fixes: 84ec374bd5 ("drm/amdgpu: create amdgpu_vkms (v4)")
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2021-08-06 16:12:23 -04:00
..
acp
amdgpu drm/amdgpu: check for allocation failure in amdgpu_vkms_sw_init() 2021-08-06 16:12:23 -04:00
amdkfd drm/amdkfd: Expose GFXIP engine version to sysfs 2021-08-05 21:18:00 -04:00
display drm/amdgpu: Add preferred mode in modeset when freesync video mode's enabled. 2021-08-05 21:18:00 -04:00
include drm/amdgpu: set RAS EEPROM address from VBIOS 2021-08-05 21:17:59 -04:00
pm drm/amd/pm: bug fix for the runtime pm BACO 2021-08-06 16:12:07 -04:00