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

Commit b2179ceb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm_vidc: Disable DCVS in thumbnail mode"

parents c00bc44b 726f72cb
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
/* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2014-2017, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -570,7 +570,8 @@ static bool msm_dcvs_check_supported(struct msm_vidc_inst *inst)
	inst->dcvs.extra_buffer_count = 0;

	if (!IS_VALID_DCVS_SESSION(num_mbs_per_frame,
				res->dcvs_limit[inst->session_type].min_mbpf)) {
		res->dcvs_limit[inst->session_type].min_mbpf) ||
		(inst->flags & VIDC_THUMBNAIL)) {
		inst->dcvs.extra_buffer_count = 0;
		is_dcvs_supported = false;
		goto dcvs_decision_done;