Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6600680imm; Wed, 27 Jun 2018 10:05:52 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJLLlbNVsWBkQKUEC/8IZhtAmfrhbFwZw0lSACJT+SWK8Im6o5qjOvNu+v+CRFH3pG5U1Jx X-Received: by 2002:a17:902:7581:: with SMTP id j1-v6mr7036222pll.218.1530119152570; Wed, 27 Jun 2018 10:05:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530119152; cv=none; d=google.com; s=arc-20160816; b=HpaG0AfvjbEe/yYuuUQYYSzGP2wTjOLm7VqVcGejvxUD/5q7DlQprFzacT0NhqDJjH yfgHN+/4s2i3iqwmKFPRqYFmRP3SVvAzc3GsGUa9DHHd79K02jS/JM9mHzfYjhLkWsVl jWOjMt841EShsIPD7+AUp39C8pNxj4Tj8p1A3Vg3vwFXr+gM0cNZ1FJbK7KmLSL+pVcB kt+Rcu648bm5alrVHXBsv5ec28B6vqMSsIs++t6TaJRlz4yPa0sy3IFptRtaO9xPBAA2 xgm5NnXRbBmwV10tFzLE4L8Sn0motYTt1xnRfTMJFsWaJg6/BmRzm/zfIBpPpouO+k49 4G6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=zcA1bMzMKszM/ZqPgSXw+wRPd+0JBjNguhSfmeGv3BM=; b=FIlR91RCDdCv1y/AHWwSS1HpUnVUouTlfFNngjSWQq/8ltwTfded3Ub3GqzWRRuIcJ 6rO1zj8WoEdiTfApyIhTA8oZJITWzaiG8IKP+wHc0UwaL5LxsWTufX/zIOAw7214a21M Ya50MBY8RYEtsUJNNcEi4k1gYRnJMyVDHip61tydOoAUlzbNX5Dic6ibClRinFrHwBkd mZvVud3+Hf32Erd1MGbYWt4NzU6hqRTdu3RiqsM4ro7GoobRSxVqRSrr2jJ3NQS+iSci IyQPldR2A56C/9Jqv9ZxnI3pWZprg0eb2cTLFdgZb12WW6bJBEvcAQ4T4IOQz0wMNg1/ Wp2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JGiJNOZ2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n4-v6si1211489pgs.362.2018.06.27.10.05.37; Wed, 27 Jun 2018 10:05:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JGiJNOZ2; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934871AbeF0Pfh (ORCPT + 99 others); Wed, 27 Jun 2018 11:35:37 -0400 Received: from mail-wm0-f48.google.com ([74.125.82.48]:39699 "EHLO mail-wm0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934682AbeF0P2E (ORCPT ); Wed, 27 Jun 2018 11:28:04 -0400 Received: by mail-wm0-f48.google.com with SMTP id p11-v6so5920950wmc.4 for ; Wed, 27 Jun 2018 08:28:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zcA1bMzMKszM/ZqPgSXw+wRPd+0JBjNguhSfmeGv3BM=; b=JGiJNOZ2LVBCGpHPOnqeAt1PhA6cY8/dd9dra4E14e9U7v0y630Pj3/eTD9XbDPBDd 9nsHJ9dk0uC4LCobhvaIBWJu2SsXx8gCbRSOK/N3E9o3zqNoJM30Bq3BdGPC8V0hrUP3 KgwSP7bQ259ZScAW875aq6ogCOkE/JdHADcFc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zcA1bMzMKszM/ZqPgSXw+wRPd+0JBjNguhSfmeGv3BM=; b=ajwc4rJiTVCRIfbny7zJDRDbMnQgCQjubvJdMmRPrX3mdXvuXnACsgc1zCvwotIaNZ HbB/jXYkkzTRnD3AUnnh1J4x9uMzcaMibpQHJHxst6pl/Yskm/PIKQHZQgD/Pvu4QN3g LiTlILIK9pysgeSyiJoGBjWbd/q6DNIcUFIGg0Mhm5frLN9m93uNXl/4INvK6++9mDO4 18orwYk/Uw/2unv7+UT2Y4MOeJ1UulqfZ3FpbDBKaLEDiL70LajQYwxp1IwQCZUZPj7K HS5b21+3xHriHrt0KXfYz/4NHD97ajophdhFtBeR8N9omMC99TXYzkgFNQ1WHu85fn5A ZCnA== X-Gm-Message-State: APt69E07B2ddlnWYHJ6reZn4skJ95PqiOkey16w2MSqNmGosa82jHUbt gqN5+u7a6zC0S9KcOU6qiwiuQw== X-Received: by 2002:a1c:369c:: with SMTP id y28-v6mr1345067wmh.34.1530113283554; Wed, 27 Jun 2018 08:28:03 -0700 (PDT) Received: from mms-0440.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id o203-v6sm2916075wmd.30.2018.06.27.08.28.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Jun 2018 08:28:03 -0700 (PDT) From: Stanimir Varbanov To: Mauro Carvalho Chehab , Hans Verkuil Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Vikash Garodia , Tomasz Figa , Stanimir Varbanov Subject: [PATCH v4 05/27] venus: hfi: support session continue for 4xx version Date: Wed, 27 Jun 2018 18:27:03 +0300 Message-Id: <20180627152725.9783-6-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180627152725.9783-1-stanimir.varbanov@linaro.org> References: <20180627152725.9783-1-stanimir.varbanov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This makes possible to handle session_continue for 4xx as well. Signed-off-by: Stanimir Varbanov Reviewed-by: Tomasz Figa --- drivers/media/platform/qcom/venus/hfi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/qcom/venus/hfi.c b/drivers/media/platform/qcom/venus/hfi.c index bca894a00c07..cbc6fad05e47 100644 --- a/drivers/media/platform/qcom/venus/hfi.c +++ b/drivers/media/platform/qcom/venus/hfi.c @@ -312,7 +312,7 @@ int hfi_session_continue(struct venus_inst *inst) { struct venus_core *core = inst->core; - if (core->res->hfi_version != HFI_VERSION_3XX) + if (core->res->hfi_version == HFI_VERSION_1XX) return 0; return core->ops->session_continue(inst); -- 2.14.1