Commit ac27e3f9 authored by Timur Kristóf's avatar Timur Kristóf Committed by Alex Deucher
Browse files

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: 4562236b ("drm/amd/dc: Add dc display driver (v2)")
Link: https://gitlab.freedesktop.org/drm/amd/-/work_items/5192


Signed-off-by: default avatarTimur Kristóf <timur.kristof@gmail.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 87f30b101af62590faf6020d106da07efdda199b)
parent 494941aa
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1102,6 +1102,8 @@ void dce110_link_encoder_hw_init(
		ASSERT(result == BP_RESULT_OK);

	}

	if (enc110->aux_regs)
		aux_initialize(enc110);

	/* reinitialize HPD.