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

Commit 57df2ae9 authored by Paulo Zanoni's avatar Paulo Zanoni Committed by Daniel Vetter
Browse files

drm/i915: BUG() on unexpected HDMI register



This should never happen, but the silent "return" makes me wonder
every time I try to debug InfoFrame bugs, so promote this to BUG() to
make sure people will complain if we ever break this.

Signed-off-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 853c70e8
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -377,6 +377,7 @@ static void g4x_set_infoframes(struct drm_encoder *encoder,
		port = VIDEO_DIP_PORT_C;
		port = VIDEO_DIP_PORT_C;
		break;
		break;
	default:
	default:
		BUG();
		return;
		return;
	}
	}


@@ -435,6 +436,7 @@ static void ibx_set_infoframes(struct drm_encoder *encoder,
		port = VIDEO_DIP_PORT_D;
		port = VIDEO_DIP_PORT_D;
		break;
		break;
	default:
	default:
		BUG();
		return;
		return;
	}
	}