diff options
| author | Shen, George <George.Shen@amd.com> | 2022-01-28 22:03:55 +0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2022-02-02 18:26:31 -0500 |
| commit | 241a074fc1342b8f6a88af4b7bdc014692ebcde7 (patch) | |
| tree | 29a4cf8935b90f5855b126f23df184d920753342 /lib/mpi/mpi-mod.c | |
| parent | 274b924c3ed18f7d46d237810dd59d3bc89cb4b4 (diff) | |
drm/amd/display: Add link enc null ptr check for cable ID (#2597)
[Why]
Certain configurations will result in link encoder
to not be assigned to the link at the time we apply
cable ID logic. We should skip it in those cases.
[How]
Check if link_enc is not null before applying
cable ID.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Wenjing Liu <Wenjing.Liu@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: George Shen <george.shen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions
