mirror of
https://github.com/openbsd/src.git
synced 2026-06-18 23:33:33 +02:00
drm/amd/display: Allow constructing DCE8 link encoder without DDC
From Timur Kristof 07822f1d9bdbd4a1809d0baac6856e36da1c1015 in linux-6.18.y/6.18.33 60af4605ef35ecb7ad649a8534b83a2f7c69576d in mainline linux
This commit is contained in:
@@ -734,7 +734,8 @@ static struct link_encoder *dce80_link_encoder_create(
|
||||
enc_init_data,
|
||||
&link_enc_feature,
|
||||
&link_enc_regs[link_regs_id],
|
||||
&link_enc_aux_regs[enc_init_data->channel - 1],
|
||||
enc_init_data->channel == CHANNEL_ID_UNKNOWN ?
|
||||
NULL : &link_enc_aux_regs[enc_init_data->channel - 1],
|
||||
enc_init_data->hpd_source >= ARRAY_SIZE(link_enc_hpd_regs) ?
|
||||
NULL : &link_enc_hpd_regs[enc_init_data->hpd_source]);
|
||||
return &enc110->base;
|
||||
|
||||
Reference in New Issue
Block a user