aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
diff options
context:
space:
mode:
authorWayne Lin <wayne.lin@amd.com>2024-05-27 15:33:48 +0800
committerAlex Deucher <alexander.deucher@amd.com>2024-06-14 16:17:16 -0400
commitad28d7c3d989fc5689581664653879d664da76f0 (patch)
tree2d43a4a6cffaa2433969386ae928b623f52e190f /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
parentdrm/amd/display: Defer the setting of link hpd status for usb4/tbt (diff)
downloadwireguard-linux-ad28d7c3d989fc5689581664653879d664da76f0.tar.xz
wireguard-linux-ad28d7c3d989fc5689581664653879d664da76f0.zip
drm/amd/display: Correct the defined value for AMDGPU_DMUB_NOTIFICATION_MAX
[Why & How] It actually exposes '6' types in enum dmub_notification_type. Not 5. Using smaller number to create array dmub_callback & dmub_thread_offload has potential to access item out of array bound. Fix it. Reviewed-by: Jerry Zuo <jerry.zuo@amd.com> Acked-by: Zaeem Mohamed <zaeem.mohamed@amd.com> Signed-off-by: Wayne Lin <wayne.lin@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c')
0 files changed, 0 insertions, 0 deletions