Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 16747b21 authored by Dmytro Laktyushkin's avatar Dmytro Laktyushkin Committed by Alex Deucher
Browse files

drm/amd/display: fix dp_ss_control vbios flag parsing



dp_ss_control = 0 means ss is off, we had a typo where
we would double not dp_ss_control while setting dp_ss_off
flag

Signed-off-by: default avatarDmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: default avatarEric Bernstein <Eric.Bernstein@amd.com>
Acked-by: default avatarBhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 8f7040b8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1040,7 +1040,7 @@ static bool construct(
	link->link_id = bios->funcs->get_connector_id(bios, init_params->connector_index);

	if (dc_ctx->dc_bios->integrated_info)
		link->dp_ss_off = !!dc_ctx->dc_bios->integrated_info->dp_ss_control;
		link->dp_ss_off = !dc_ctx->dc_bios->integrated_info->dp_ss_control;

	if (link->link_id.type != OBJECT_TYPE_CONNECTOR) {
		dm_error("%s: Invalid Connector ObjectID from Adapter Service for connector index:%d! type %d expected %d\n",