diff options
| author | Charlene Liu <Charlene.Liu@amd.com> | 2025-09-29 20:29:30 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-29 14:08:57 +0100 |
| commit | f28092be4e12b7df9e4f415d25bf0d767bc2d9ed (patch) | |
| tree | 822702adfad0626ccd9754e377baaa1a6fcb6f99 /include/net/aligned_data.h | |
| parent | 6fc0a7c99e973a50018c8b4be34914a1b5c7b383 (diff) | |
drm/amd/display: increase max link count and fix link->enc NULL pointer access
commit bec947cbe9a65783adb475a5fb47980d7b4f4796 upstream.
[why]
1.) dc->links[MAX_LINKS] array size smaller than actual requested.
max_connector + max_dpia + 4 virtual = 14.
increase from 12 to 14.
2.) hw_init() access null LINK_ENC for dpia non display_endpoint.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Meenakshikumar Somasundaram <meenakshikumar.somasundaram@amd.com>
Reviewed-by: Chris Park <chris.park@amd.com>
Signed-off-by: Charlene Liu <Charlene.Liu@amd.com>
Signed-off-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit d7f5a61e1b04ed87b008c8d327649d184dc5bb45)
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
