Commit b4a69f7f authored by Peter Shkenev's avatar Peter Shkenev Committed by Alex Deucher
Browse files

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: default avatarPeter Shkenev <mustela@erminea.space>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
parent c90f2e11
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment