diff options
author | Alex Hung <alex.hung@amd.com> | 2025-06-03 18:30:55 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-07-06 11:01:46 +0200 |
commit | e881b82f5d3d8d54d168cd276169f0fee01bf0e7 (patch) | |
tree | d800d2115968428c82c959b6fa67bd1487b1e679 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
parent | 593517e5561cb8f7f03503de3d75169b855b1d00 (diff) |
drm/amd/display: Check dce_hwseq before dereferencing it
commit b669507b637eb6b1aaecf347f193efccc65d756e upstream.
[WHAT]
hws was checked for null earlier in dce110_blank_stream, indicating hws
can be null, and should be checked whenever it is used.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 79db43611ff61280b6de58ce1305e0b2ecf675ad)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions