Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3403592pxu; Sun, 20 Dec 2020 01:34:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJy43b9wyhhrED85WDOzGgtJ8qaZRCqVn15yQVaenlE984MpWRp1rwnLd79cM78x5j4sN8IS X-Received: by 2002:a17:906:1955:: with SMTP id b21mr11144609eje.236.1608456864449; Sun, 20 Dec 2020 01:34:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608456864; cv=none; d=google.com; s=arc-20160816; b=AKm3eok6c021Yr7WIjqUFy2DRVOjPQ5xsi1/p//JobD246uij/MyZxT6/Ut7m1dF90 6Q8Q48RChUhuQCvailRywb9wgZMoW49z8YtkaTOwOFRsfaHzxQxB7xq6yf9GMI1uSCba zY738iVC42j7E7qTplVU/fzOOb6AZGGlIO6P+X/zrbwVXBlyf44+788V/cOkdy4FMpm1 usFaAQPH6vOxuwR8n7h8m+vHirBC6SDUA1bq1h/57MWnZMqdBFG9X+D0981Sh6CEQGsn qgJLKmZQnTVqbqlVV5/s8FOqO2decOk7KSkVdwUjGU6uP84cUqi+nvKdczeLtBuxrGsn 9/6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from :dkim-signature; bh=jklOUP9ssYI5rCKfQqUWTyc0nST/IJQQMgqRWUIHnaY=; b=0i3mkD0AtiWcJMEdksqgfMNvzuMKI5fPk0eT8kku+WGSezFeerDY1yXg4tCPkMirxB HYhTKmOZYUYgK1YYGU1bFuoJQpXxZTxcXa8037Ak3Fh4YV6nWVeAWrYc5EMxS3BvXgty eXaBswE/wrB1zA9NgYXgfVYdNtgX4jWsImMJ5WzqJvgMChI/uoKcyzJlP+MI9kSMxoI4 N1flPro3xR7SffjwU6dhCWOiOwI2VumSMd2NvCFChBbJARINbB46ZFgEq6T3FVzAOOp5 IB5Vc1L9wAhWPhQ8B/BhxP24wIURWYwsRvn6cWU0GjMwMaVBNHT3i2fYkzo663us5rt2 QYpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fPIzdur7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id bx26si9513037edb.358.2020.12.20.01.34.01; Sun, 20 Dec 2020 01:34:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fPIzdur7; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1727286AbgLTJdf (ORCPT + 99 others); Sun, 20 Dec 2020 04:33:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727112AbgLTJdd (ORCPT ); Sun, 20 Dec 2020 04:33:33 -0500 Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3EFA0C0617B0 for ; Sun, 20 Dec 2020 01:32:48 -0800 (PST) Received: by mail-ej1-x62a.google.com with SMTP id x16so9387633ejj.7 for ; Sun, 20 Dec 2020 01:32:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=jklOUP9ssYI5rCKfQqUWTyc0nST/IJQQMgqRWUIHnaY=; b=fPIzdur7KvtXX2fZntnE0EcI5FcOc4zAS+Z2K4tsC7H9yoEuX4kCK7RejvMUm10Tyf iC+G8D7sM4MSMNnstHIM88+vwiDXh7UbTvGILykhEdsMyNZyPOoljj3Yp65fzI3/Klln 7Qk0yOi1Hr1tDvu2oB6VnNv1bDFPdnW0h3cLdZxuz+v+uRvDxCyEZm7cIEPsm2BQLpkz 7uZ2uIEFh2eiofPhQ3eZI0QBf3btaRDWKsnBGeMs1kRVTr0P5sALqXK04/1yxTsEeO9B 3TeMzPx4I86g+2OMjRBIq44NAnQxFKgFcoRckX66IoWA7WJCn3+pgUhSHwWSby28iqnP p++g== 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; bh=jklOUP9ssYI5rCKfQqUWTyc0nST/IJQQMgqRWUIHnaY=; b=bg5aKltVkFuWK+SGWFRBxceriPKX9zR8sBiIYtDdR40PX4rrKIYSstxol96levbjz0 Ns1N48o2Ur9kPCVNPY356AkTUH2vrWFVAIXydtd5HBMj6j72JVquVlBT0Qm06nIg1GLM WxEFNeLofX7ofPdAsa87QVLnUBTyYJQxtNW17BKCeDbqDc+EKV6w8DJJcHCvUDgr8XKH ONQIWX5mAQR3Q00t7aR4ri81OW3w932Ivd6K6fIEFqMwXvX0Qr+5IFqY1im+33P6QIgS mmV+nDAq2wUKjB/aK6QU2/zI3ZgVwcrt8vUS2CQ7l5n/fdUPWuXMYvyCtRVoNbZcAH8w RdHw== X-Gm-Message-State: AOAM533W2qSABiGynp+m/oJGun8I48p7e/5edlqEwyK/vGlIjkxZW+hW cxPUiwNicADd6+3QaFIv2SMkMw== X-Received: by 2002:a17:906:1a19:: with SMTP id i25mr11104489ejf.206.1608456766811; Sun, 20 Dec 2020 01:32:46 -0800 (PST) Received: from localhost.localdomain (hst-221-118.medicom.bg. [84.238.221.118]) by smtp.gmail.com with ESMTPSA id z12sm7769814ejr.17.2020.12.20.01.32.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 20 Dec 2020 01:32:46 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Cc: vgarodia@codeaurora.org, acourbot@chromium.org, Fritz Koenig , Stanimir Varbanov Subject: [PATCH v2 0/5] Venus dynamic resolution change fixes Date: Sun, 20 Dec 2020 11:31:25 +0200 Message-Id: <20201220093130.10177-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Changes since v1: * In 1/5 - clear next_buf_last flag before session_continue in vdec_start_capture - on event, flush output buffers unconditiannly * Added two more patches from Alex (4/5) and Fritz (5/5) v1 can be found at: https://www.spinics.net/lists/linux-media/msg177801.html regards, Stan Alexandre Courbot (1): media: venus: preserve DRC state across seeks Fritz Koenig (1): venus: vdec: Handle DRC after drain Stanimir Varbanov (3): venus: vdec: Fix non reliable setting of LAST flag venus: vdec: Make decoder return LAST flag for sufficient event venus: helpers: Lock outside of buffer queue helper drivers/media/platform/qcom/venus/core.h | 6 +- drivers/media/platform/qcom/venus/helpers.c | 15 +-- drivers/media/platform/qcom/venus/vdec.c | 110 +++++++++++++------- drivers/media/platform/qcom/venus/venc.c | 11 +- 4 files changed, 93 insertions(+), 49 deletions(-) -- 2.17.1