diff options
author | Josip Pavic <Josip.Pavic@amd.com> | 2020-07-06 15:43:39 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-07-14 14:37:59 -0400 |
commit | 4462282a7253e3663790f8ab092a4107d905bd76 (patch) | |
tree | c8acc7b397c56e53623113680055e7065de6c524 /drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c | |
parent | 04111850cf5640131d20ce5194be735f75ed8f01 (diff) |
drm/amd/display: handle failed allocation during stream construction
[Why]
Failing to allocate a transfer function during stream construction leads
to a null pointer dereference
[How]
Handle the failed allocation by failing the stream construction
Cc: stable@vger.kernel.org
Signed-off-by: Josip Pavic <Josip.Pavic@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c')
0 files changed, 0 insertions, 0 deletions