diff options
author | Krunoslav Kovac <Krunoslav.Kovac@amd.com> | 2019-01-02 14:12:53 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-01-14 15:42:30 -0500 |
commit | ccab1217230246dccc3110990b028f195ad2d609 (patch) | |
tree | 6d094db676cf2293f8adbe3030a99c31706d4427 /drivers/gpu/drm/i810 | |
parent | 5dc3fc5a7835f6b98184d2b8df909c5230c37a2c (diff) |
drm/amd/display: Check for NULL when creating gamma struct
[Wjy&How] Some stress test is causing unexpected memory allocation
failure. This prevents null dereference but there will likely be problems
later, hard to gracefully handle memalloc fail for critical objects.
Signed-off-by: Krunoslav Kovac <Krunoslav.Kovac@amd.com>
Reviewed-by: Anthony Koo <Anthony.Koo@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Acked-by: Reza Amini <Reza.Amini@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/i810')
0 files changed, 0 insertions, 0 deletions