commit | be73e608ae2711dc8a1ab8b9549d9e348061b2ee | [log] [tgz] |
---|---|---|
author | Josip Pavic <Josip.Pavic@amd.com> | Mon Jul 06 15:43:39 2020 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Tue Jul 14 15:14:15 2020 -0400 |
tree | 330d4012fc37a0c93d514247771ab1af5be680ee | |
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>