diff options
| author | Srinivasan Shanmugam <[email protected]> | 2024-01-31 03:19:41 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-02-07 15:00:29 +0000 |
| commit | fb5a3d037082b52a5c52be647c3936ca7651d7d5 (patch) | |
| tree | 6137cf105de23ad91181a26d74c187c36fabc849 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | drm/amd/display: Fix 'panel_cntl' could be null in 'dcn21_set_backlight_level()' (diff) | |
| download | kernel-fb5a3d037082b52a5c52be647c3936ca7651d7d5.tar.gz kernel-fb5a3d037082b52a5c52be647c3936ca7651d7d5.zip | |
drm/amd/display: Add NULL test for 'timing generator' in 'dcn21_set_pipe()'
In "u32 otg_inst = pipe_ctx->stream_res.tg->inst;"
pipe_ctx->stream_res.tg could be NULL, it is relying on the caller to
ensure the tg is not NULL.
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_mes.c')
0 files changed, 0 insertions, 0 deletions
