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 15:14:15 -0400 |
commit | be73e608ae2711dc8a1ab8b9549d9e348061b2ee (patch) | |
tree | 330d4012fc37a0c93d514247771ab1af5be680ee /drivers/gpu/drm/amd/powerplay/renoir_ppt.c | |
parent | b448d30b0c303d5454ea572b772d1ffae96bc6e7 (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/powerplay/renoir_ppt.c')
0 files changed, 0 insertions, 0 deletions