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

Commit 88a8ea39 authored by Abhijit Kulkarni's avatar Abhijit Kulkarni
Browse files

drm/msm/sde: fix issue with video mode



This change explicitly passes the encoder id while reserving
the interface resource from the resource manager, without this
change resoure manager returns invalid interface resource.

Change-Id: Ic18ba3561d5e547e7ee9fb09b18d5dbdebb41ea4
Signed-off-by: default avatarAbhijit Kulkarni <kabhijit@codeaurora.org>
parent aece7008
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -558,7 +558,7 @@ static void sde_encoder_phys_vid_mode_set(
		return;
	}

	sde_rm_init_hw_iter(&iter, 0, SDE_HW_BLK_INTF);
	sde_rm_init_hw_iter(&iter, phys_enc->parent->base.id, SDE_HW_BLK_INTF);
	for (i = 0; i <= instance; i++) {
		if (sde_rm_get_hw(rm, &iter))
			phys_enc->hw_intf = (struct sde_hw_intf *)iter.hw;