Commit aaa15026 authored by Wenjing Liu's avatar Wenjing Liu Committed by Alex Deucher
Browse files

drm/amd/display: Fix return value from rx irq handler on up request

parent 67a72b69
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -1964,11 +1964,11 @@ bool dc_link_handle_hpd_rx_irq(struct dc_link *link, union hpd_irq_data *out_hpd
	 * so do not handle as a normal sink status change interrupt.
	 */

	if (hpd_irq_dpcd_data.bytes.device_service_irq.bits.UP_REQ_MSG_RDY)
		return true;

	/* check if we have MST msg and return since we poll for it */
	if (hpd_irq_dpcd_data.bytes.device_service_irq.
			bits.DOWN_REP_MSG_RDY ||
		hpd_irq_dpcd_data.bytes.device_service_irq.
			bits.UP_REQ_MSG_RDY)
	if (hpd_irq_dpcd_data.bytes.device_service_irq.bits.DOWN_REP_MSG_RDY)
		return false;

	/* For now we only handle 'Downstream port status' case.