mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 17:47:41 +02:00
drm/amd/display: Allow DCE link encoder without AUX registers
Allow constructing the DCE link encoder without DDC,
which means the AUX registers array will be NULL.
This is necessary to support embedded connectors without DDC.
Fixes: 4562236b3b ("drm/amd/dc: Add dc display driver (v2)")
Link: https://gitlab.freedesktop.org/drm/amd/-/work_items/5192
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
parent
75b8a6ca0e
commit
87f30b101a
|
|
@ -1102,7 +1102,9 @@ void dce110_link_encoder_hw_init(
|
|||
ASSERT(result == BP_RESULT_OK);
|
||||
|
||||
}
|
||||
aux_initialize(enc110);
|
||||
|
||||
if (enc110->aux_regs)
|
||||
aux_initialize(enc110);
|
||||
|
||||
/* reinitialize HPD.
|
||||
* hpd_initialize() will pass DIG_FE id to HW context.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user