aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2025-07-24 20:00:43 +0000
committerAlex Deucher <[email protected]>2025-08-18 21:56:25 +0000
commit07b93a5704b0b72002f0c4bd1076214af67dc661 (patch)
treedfda086a41c263bad004def84b34d6ca7aabdce9 /drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c
parentdrm/amdgpu/swm14: Update power limit logic (diff)
downloadkernel-07b93a5704b0b72002f0c4bd1076214af67dc661.tar.gz
kernel-07b93a5704b0b72002f0c4bd1076214af67dc661.zip
drm/amd/display: Avoid a NULL pointer dereference
[WHY] Although unlikely drm_atomic_get_new_connector_state() or drm_atomic_get_old_connector_state() can return NULL. [HOW] Check returns before dereference. Cc: Mario Limonciello <[email protected]> Cc: Alex Deucher <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Alex Hung <[email protected]> Tested-by: Dan Wheeler <[email protected]> Signed-off-by: Alex Deucher <[email protected]> (cherry picked from commit 1e5e8d672fec9f2ab352be121be971877bff2af9) Cc: [email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ip.c')
0 files changed, 0 insertions, 0 deletions