Commit 8e545104 authored by Zeyu Fan's avatar Zeyu Fan Committed by Alex Deucher
Browse files

drm/amd/display: Fix bugs causing Hawaii and Bonaire not light up.

parent 56bc1c42
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -186,7 +186,7 @@ static uint8_t dig_encoder_sel_to_atom(enum engine_id id)
		break;
	}

	return atom_dig_encoder_sel;
	return 0;
}

static bool clock_source_id_to_atom(
+1 −1
Original line number Diff line number Diff line
@@ -183,7 +183,7 @@ static uint8_t dig_encoder_sel_to_atom(enum engine_id id)
		break;
	}

	return atom_dig_encoder_sel;
	return 0;
}

static bool clock_source_id_to_atom(
+1 −1
Original line number Diff line number Diff line
@@ -1281,7 +1281,7 @@ void dce110_link_encoder_enable_dp_output(
	configure_encoder(enc110, link_settings);

	cntl.action = TRANSMITTER_CONTROL_ENABLE;
	cntl.engine_id = ENGINE_ID_UNKNOWN;
	cntl.engine_id = enc->preferred_engine;
	cntl.transmitter = enc110->base.transmitter;
	cntl.pll_id = clock_source;
	cntl.signal = SIGNAL_TYPE_DISPLAY_PORT;