From patchwork Tue Jul 6 12:40:29 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 470442 Delivered-To: patch@linaro.org Received: by 2002:a02:c94a:0:0:0:0:0 with SMTP id u10csp4958346jao; Tue, 6 Jul 2021 05:46:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwpTymVDYuCKXT9DCO28M2lGXLCaITp0+VX5BfLLdozMNimsMRvdoCsEF7mE/amDyTLdPhu X-Received: by 2002:a05:6e02:1521:: with SMTP id i1mr14417364ilu.155.1625575567566; Tue, 06 Jul 2021 05:46:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625575567; cv=none; d=google.com; s=arc-20160816; b=UO6gnly34/g09KsCPiumPodSfda+XK4ci2bjNmuthyKYw/+tFTvlCiP0qd1GQU5b0K GFHL/qeDIoVKo4nTrUD8abIHvWVn9AXXs8IZIowdRwRYD3BZPpmpniZfpT6Zf9gZFnQE iFyWKwn5LboOyERLVefrbH7yude4HIwx4CniBeS9BzWrbmPOFYCrASCmwkbFhr2KRhrr wqAOI2eQkjpBBwixTyztNItIJM7kszKo4A1JDv/2b+DjHlQb6ErVH+TMOEfEcM5OV9GF Rm76+UXUcwIrQyUJu4XGGEX+wy14/W1pPVGZ5/TzB30zFKTb9kpNuFQZdfh5b6Sjex5W 3RTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=ZnlHLNnJd5GU0c7sfvbRXRKe3J+7AIP690BFavXKv1w=; b=kBImUnxQDzB57j2AwBRsp2lU7ws9MVfxBePd8MtS56q3IUVEP233F2Cl6ec4EPs1FV xNyz1HWBmHzQ2qP5IirpoLOaxNV7xmCujHccoE3z4cBZMR2Q4ZHq27BReUIL1oRzy2AU FbxVaTzt33t3wtvSMrdm3C2sdeToJMAwjMFDrQ5+4KNLTdi2V63qkdVFesGf5ojeTP71 bYzbXt4alEgF/7YeY3gXTyg9ErYxbTeDQW2UGs3bEHbgKoug+p1Lm1qMnMnRYNTAhu6x hwxMCriir203TvPxuMOLfyJJLeiEqZ5DQyTjb+DibJI9PiXFaUFhDfzN2uIkLCTYDQjr F/fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tgdihnyr; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 v10si142748jal.77.2021.07.06.05.46.07; Tue, 06 Jul 2021 05:46:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-media-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=Tgdihnyr; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-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 S240815AbhGFMsl (ORCPT + 4 others); Tue, 6 Jul 2021 08:48:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34494 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238472AbhGFMsk (ORCPT ); Tue, 6 Jul 2021 08:48:40 -0400 Received: from mail-wm1-x331.google.com (mail-wm1-x331.google.com [IPv6:2a00:1450:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A475C05BD38 for ; Tue, 6 Jul 2021 05:41:08 -0700 (PDT) Received: by mail-wm1-x331.google.com with SMTP id j16-20020a05600c1c10b0290204b096b0caso2164048wms.1 for ; Tue, 06 Jul 2021 05:41:08 -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:mime-version :content-transfer-encoding; bh=ZnlHLNnJd5GU0c7sfvbRXRKe3J+7AIP690BFavXKv1w=; b=Tgdihnyrz7EvhoXM7zBn/7wdjxTn+9+TZAnba00UOq7jgBqH6P/RLawu3OCcSSkS5r uT3uVAay9MiFXblkJgnjCsSyVvtuMpADlgH6oG1B02sTNA2s2UMFXxoWHKlJZknNk6Hp cAb3kKvRh/tgoiFtFBf09SjMGCwyD9QmHby5qIf+TgbD2EWZlvb2wCV1WfJIr+zJ4jDu a2x68i1M5MHokjcsbpqiMQQ5R1kYLQQP/dOilQdz6FBptzuHgnekoyaCWgVd9HCuBG80 Mw+snaA+Gosk9GobmtcCGtOP2IbKgiZQFx7cDhQ95ZEx/jUyaEO872DCzVvJcqgXA4yB s5bA== 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:mime-version :content-transfer-encoding; bh=ZnlHLNnJd5GU0c7sfvbRXRKe3J+7AIP690BFavXKv1w=; b=kABs5hvltlfEbXoGRMPR9g5idXkH88MoY+IyjGYbLs2TV9L7J+xsmuTw2Up+M1e3hn WTNJxHCaRkmZprnFicqyLkG6JPqTZhOlh4GwDsEin7Fx+yJ61ZF9KJh0GsyqlOVyPowU jFwJNrQSi75I8CQBPvF+gJzJdyXpLiiyFSSX6k4c1PiFswv+7dWi17SAE3BJ4VsaYMqC SDTyX0tRj4V8GChgt7SS8XnmAkR7IseXMrw7KfNiOR6VaPt0i/F3/QBf/XbCKOcZBnt8 Y1rGSUBqh/sttT6FV7U9+QvX1iKEGtMm9EA2H9P3JQHcob4Sfcd5iAW15ONG5oxK/hOt Q8ng== X-Gm-Message-State: AOAM530iklzkn7sRd6MOr1Z3yoPzAWWg8hrzDM7uxReK+kRv9JYZzCcG MRBSYkdY78XjNEJ9yZuoSJyBKaB48LvXKw== X-Received: by 2002:a05:600c:a45:: with SMTP id c5mr442364wmq.153.1625575266517; Tue, 06 Jul 2021 05:41:06 -0700 (PDT) Received: from localhost.localdomain (hst-221-27.medicom.bg. [84.238.221.27]) by smtp.gmail.com with ESMTPSA id n18sm2585979wms.3.2021.07.06.05.41.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 05:41:06 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-api@vger.kernel.org Cc: Hans Verkuil , Stanimir Varbanov Subject: [PATCH v2 0/5] Qualcomm custom compressed pixfmt Date: Tue, 6 Jul 2021 15:40:29 +0300 Message-Id: <20210706124034.773503-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Hello, Changes since v1: * rename QC8C to QC08C * rewrite the documentation part * handle correctly QC10C compressed format in the driver * correct compressed 10-bit formats for Venus v4 and v6 Regards, Stan v1: https://patchwork.linuxtv.org/project/linux-media/list/?series=5331 Stanimir Varbanov (5): v4l: Add Qualcomm custom compressed pixel formats venus: helpers: Add helper to check supported pixel formats venus: Add a handling of QC08C compressed format venus: hfi_platform: Correct supported compressed format venus: Add a handling of QC10C compressed format .../media/v4l/pixfmt-reserved.rst | 18 +++++++ drivers/media/platform/qcom/venus/helpers.c | 48 +++++++++++-------- drivers/media/platform/qcom/venus/helpers.h | 1 + .../platform/qcom/venus/hfi_platform_v4.c | 4 +- .../platform/qcom/venus/hfi_platform_v6.c | 4 +- drivers/media/platform/qcom/venus/vdec.c | 31 ++++++++++-- drivers/media/v4l2-core/v4l2-ioctl.c | 2 + include/uapi/linux/videodev2.h | 2 + 8 files changed, 82 insertions(+), 28 deletions(-) -- 2.25.1