diff options
| author | Stanley.Yang <[email protected]> | 2023-09-27 08:22:29 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2023-10-09 20:52:46 +0000 |
| commit | 80285ae1ec8717b597b20de38866c29d84d321a1 (patch) | |
| tree | 4600c790785a6b026f5544c3f8de54f65f1d696d /drivers/gpu/drm/amd/display/modules/freesync/freesync.c | |
| parent | drm/amd/display: enable S/G display for for recent APUs by default (diff) | |
| download | kernel-80285ae1ec8717b597b20de38866c29d84d321a1.tar.gz kernel-80285ae1ec8717b597b20de38866c29d84d321a1.zip | |
drm/amdgpu: Fix potential null pointer derefernce
The amdgpu_ras_get_context may return NULL if device
not support ras feature, so add check before using.
Signed-off-by: Stanley.Yang <[email protected]>
Reviewed-by: Tao Zhou <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/display/modules/freesync/freesync.c')
0 files changed, 0 insertions, 0 deletions
