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

Commit c827206f authored by Harry Wentland's avatar Harry Wentland Committed by Alex Deucher
Browse files

drm/amd/display: Don't blow up if TG is NULL in dce110_vblank_set

parent 08058973
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ bool dce110_vblank_set(struct irq_service *irq_service,
			core_dc->current_state->res_ctx.pipe_ctx[pipe_offset].stream_res.tg;

	if (enable) {
		if (!tg->funcs->arm_vert_intr(tg, 2)) {
		if (!tg || !tg->funcs->arm_vert_intr(tg, 2)) {
			DC_ERROR("Failed to get VBLANK!\n");
			return false;
		}