diff options
| author | Srinivasan Shanmugam <[email protected]> | 2024-01-27 13:04:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-02-07 14:59:59 +0000 |
| commit | 886571d217d7cc4e0f96f68b21238e3e25694e74 (patch) | |
| tree | ecbcd0af4f020f00cd7c488f495c75420bce7680 /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | drm/amdgpu/pm: Use inline function for IP version check (diff) | |
| download | kernel-886571d217d7cc4e0f96f68b21238e3e25694e74.tar.gz kernel-886571d217d7cc4e0f96f68b21238e3e25694e74.zip | |
drm/amd/display: Fix 'panel_cntl' could be null in 'dcn21_set_backlight_level()'
'panel_cntl' structure used to control the display panel could be null,
dereferencing it could lead to a null pointer access.
Fixes the below:
drivers/gpu/drm/amd/amdgpu/../display/dc/hwss/dcn21/dcn21_hwseq.c:269 dcn21_set_backlight_level() error: we previously assumed 'panel_cntl' could be null (see line 250)
Fixes: 474ac4a875ca ("drm/amd/display: Implement some asic specific abm call backs.")
Cc: Yongqiang Sun <[email protected]>
Cc: Anthony Koo <[email protected]>
Cc: Rodrigo Siqueira <[email protected]>
Cc: Aurabindo Pillai <[email protected]>
Signed-off-by: Srinivasan Shanmugam <[email protected]>
Reviewed-by: Anthony Koo <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
