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

Commit f597ddda authored by Praneeth Paladugu's avatar Praneeth Paladugu
Browse files

msm: vidc: Store interlace information in driver



When HW returns interlace information in event, store this in
instance struct. This is useful in debugging.

CRs-Fixed: 2119753
Change-Id: I8afbec604fb21ff0a157faa704f0450872b1fb92
Signed-off-by: default avatarPraneeth Paladugu <ppaladug@codeaurora.org>
parent 5b93813a
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1686,6 +1686,11 @@ static void handle_event_change(enum hal_command_response cmd, void *data)
		event_notify->crop_data.height;
	inst->prop.crop_info.width =
		event_notify->crop_data.width;
	/* HW returns progressive_only flag in pic_struct. */
	inst->pic_struct =
		event_notify->pic_struct ?
		MSM_VIDC_PIC_STRUCT_PROGRESSIVE :
		MSM_VIDC_PIC_STRUCT_MAYBE_INTERLACED;

	ptr = (u32 *)seq_changed_event.u.data;
	ptr[0] = event_notify->height;