diff options
| author | Ma Ke <[email protected]> | 2024-06-26 13:06:50 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-06-27 21:33:36 +0000 |
| commit | c96140000915b610d86f941450e15ca552de154a (patch) | |
| tree | 29d1d14cb48a620248311e18e53d61ed151a93db /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
| parent | drm/amdgpu: normalize registers as local xcc to read/write in gfx_v9_4_3 (diff) | |
| download | kernel-c96140000915b610d86f941450e15ca552de154a.tar.gz kernel-c96140000915b610d86f941450e15ca552de154a.zip | |
drm/amd/display: Add null check before access structs
In enable_phantom_plane, we should better check null pointer before
accessing various structs.
Fixes: 09a4ec5da92c ("drm/amd/display: Refactor dc_state interface")
Signed-off-by: Ma Ke <[email protected]>
Reviewed-by: Aurabindo Pillai <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions
