summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorPeter Shkenev <mustela@erminea.space>2025-07-17 23:48:17 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-07-28 23:24:48 +0300
commitb4a69f7f29c8a459ad6b4d8a8b72450f1d9fd288 (patch)
tree750e8613fb7c1e3f316b30f40d3b3998d6c41419 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
parentc90f2e1172c51fa25492471dc9910e2d7c1444b9 (diff)
downloadlinux-b4a69f7f29c8a459ad6b4d8a8b72450f1d9fd288.tar.xz
drm/amdgpu: check if hubbub is NULL in debugfs/amdgpu_dm_capabilities
HUBBUB structure is not initialized on DCE hardware, so check if it is NULL to avoid null dereference while accessing amdgpu_dm_capabilities file in debugfs. Signed-off-by: Peter Shkenev <mustela@erminea.space> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions