Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp3362134pxb; Mon, 17 Jan 2022 18:37:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJw3F0uD3VnqDoIvuJeMn4gTnIe5bHZkoNaqVbcDRF5jWsPaMnAihw9NKASuPbbZBeBL4mTs X-Received: by 2002:a63:8c:: with SMTP id 134mr21470913pga.599.1642473427038; Mon, 17 Jan 2022 18:37:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642473427; cv=none; d=google.com; s=arc-20160816; b=pMPg3v/Jh8tvt7/Jh6FaWUIWufp2hCiXc8vnSGu8uQapxAHBjx94qvWh5rP+7Uf2/P knfRmJXSRU04LkXbdvd3roy8YTyqQQxePDkQ7nQmbtmovo+X4571omlGKD1cUk02vfop oFGtJ1wO/NNWKjvaEMIhHez0I4Fj5ABfyXtqdrZUR72pMe20E5Ld/ZDGKs3LgLjTppDB zGw27eoBRDn0bkwqZaoyUVDd9Mxd/SJzOKbBlDOiMkOfieJvL9LUEZbnWKdbjj1EIi9f jFI+D3ac7FwJ/4pGxULS1E2wQE68s/ImuxtOzweaeyOtrcCq8AG3+d3kDQ96qWKvekDH 70rw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=yAEFbpvN98ptmknkKWl0O8Ur86W+dj9ENZyY+Bs86R0=; b=uaXGLP+UkaHagS9TxToEx56mtwz0xz0dt3q5wkRaqHVR3NCIcEQL1OG/xJqb7mWjf7 TgJkzioUCxhG89BJdgAhhZG+KblqTaSBzAE/Zng22/PrfMdXwVgNnxeBDKTDjjhAawEp t7gKXW4z05kOophdYKIhLTvGH5+TkC4BekLyLiZrr0DtWcXqj2EzLz69jc9MFMorVsbx Ia3dU+Xtjm85kNkwPj1VTDR4CrASN9lUFs1ycMh9kbpzybt7bjHGtXlp0RMQEkmsk2H8 Ws8SPSWx8lAO2n33/s9C9F/GqPUWViQo/nVvM96ul/qyefOWGQQBJVZc0gpJWA1p176N AP7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=R8t67VZF; 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 w12si14266834pfn.13.2022.01.17.18.36.55; Mon, 17 Jan 2022 18:37:07 -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=R8t67VZF; 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 S240758AbiAQP4k (ORCPT + 99 others); Mon, 17 Jan 2022 10:56:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240713AbiAQP4c (ORCPT ); Mon, 17 Jan 2022 10:56:32 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93C68C06173E for ; Mon, 17 Jan 2022 07:56:31 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id p18so21349990wmg.4 for ; Mon, 17 Jan 2022 07:56:31 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=yAEFbpvN98ptmknkKWl0O8Ur86W+dj9ENZyY+Bs86R0=; b=R8t67VZFO1HmMGwZdmiWdCI77MtFkggjVAOUfJdmvVBjfSveEvCbzvA5UJ5rIDDNRL zRD3XKbZOaQJTs+DLOjBtyT09CdCloFMpIcVlIcaPrR0URZ6l2qenVfs/nYEiGf9cDDP sHkjHQkD+KBy4FlyH5qP2gJu7ikwmLErNC4j6yGVTYzZS0iY0rv9X/ITiH8OSC0m4+2O I2+IQc/bvYEgzVBPu+wEHfpOH6wQk2nQEjYWPgEfNFlYC7ASaTfigk7oSQD5sZa1L5oY 2KlRFgLpbTJ0dMSs8w+S8OxEuSi2wJEsAbnBKQncMeS2GpvGrsbNl/ZTyFSWd3s2cvvA M3SQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=yAEFbpvN98ptmknkKWl0O8Ur86W+dj9ENZyY+Bs86R0=; b=PoyeeOB72086BlXN4cWEFabgA35GLETI0gy80kFsl25uN8wfq1DnlTivuvR8/l2WxY u/dYzjHbinnPm3vbOqUtlW3zgj4dSXWYzEQdUw18sS1q221dcJ6vgLanf3pUqxkHoXHW ukhJtmjuNFLNzWJ6Myi/+q0dvIgS3at4nBpTBUQb5UERUqRQiazzwSwrHi2qu2fbdgnT Iehy4iWUO/q4sLTX8FAcZP4aLBC51/UOS6HSfFAUPnEbBMCxLgm+JCue/xA7RQ7b73oW cVZdaTH/xf1k8k5IfqEIolHugb1LYeETtd6dTI+/ujFdl12r04MWB/wWjLVo3CyHjjF+ P7qQ== X-Gm-Message-State: AOAM530VfOB66TJ153R6Mv7VxNpAYSW9ShUw/Dd8VkmCrjzKRz5LCRkp Kuz2SYAVnLTVZBrZcu5CaugTIA== X-Received: by 2002:adf:de84:: with SMTP id w4mr20285440wrl.64.1642434990194; Mon, 17 Jan 2022 07:56:30 -0800 (PST) Received: from localhost.localdomain (hst-221-60.medicom.bg. [84.238.221.60]) by smtp.gmail.com with ESMTPSA id i82sm15542900wma.23.2022.01.17.07.56.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 17 Jan 2022 07:56:29 -0800 (PST) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-api@vger.kernel.org Cc: hverkuil-cisco@xs4all.nl, Stanimir Varbanov Subject: [PATCH v3 4/6] venus: hfi_platform: Correct supported compressed format Date: Mon, 17 Jan 2022 17:55:57 +0200 Message-Id: <20220117155559.234026-5-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220117155559.234026-1-stanimir.varbanov@linaro.org> References: <20220117155559.234026-1-stanimir.varbanov@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In multistream mode HFI supports TP10_UBWC on output2. Correct this in supported formats capabilities list. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi_platform_v4.c | 4 ++-- drivers/media/platform/qcom/venus/hfi_platform_v6.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/qcom/venus/hfi_platform_v4.c b/drivers/media/platform/qcom/venus/hfi_platform_v4.c index 3f7f5277a50e..e3f0a90a567b 100644 --- a/drivers/media/platform/qcom/venus/hfi_platform_v4.c +++ b/drivers/media/platform/qcom/venus/hfi_platform_v4.c @@ -55,7 +55,7 @@ static const struct hfi_plat_caps caps[] = { .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12}, .fmts[4] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21}, .fmts[5] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_P010}, - .fmts[6] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_YUV420_TP10}, + .fmts[6] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_YUV420_TP10_UBWC}, .num_fmts = 7, }, { .codec = HFI_VIDEO_CODEC_VP8, @@ -106,7 +106,7 @@ static const struct hfi_plat_caps caps[] = { .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12}, .fmts[4] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21}, .fmts[5] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_P010}, - .fmts[6] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_YUV420_TP10}, + .fmts[6] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_YUV420_TP10_UBWC}, .num_fmts = 7, }, { .codec = HFI_VIDEO_CODEC_MPEG2, diff --git a/drivers/media/platform/qcom/venus/hfi_platform_v6.c b/drivers/media/platform/qcom/venus/hfi_platform_v6.c index c10618e44f5d..4e8af645f8b9 100644 --- a/drivers/media/platform/qcom/venus/hfi_platform_v6.c +++ b/drivers/media/platform/qcom/venus/hfi_platform_v6.c @@ -55,7 +55,7 @@ static const struct hfi_plat_caps caps[] = { .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12}, .fmts[4] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21}, .fmts[5] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_P010}, - .fmts[6] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_YUV420_TP10}, + .fmts[6] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_YUV420_TP10_UBWC}, .num_fmts = 7, }, { .codec = HFI_VIDEO_CODEC_VP8, @@ -106,7 +106,7 @@ static const struct hfi_plat_caps caps[] = { .fmts[3] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV12}, .fmts[4] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_NV21}, .fmts[5] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_P010}, - .fmts[6] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_YUV420_TP10}, + .fmts[6] = {HFI_BUFFER_OUTPUT2, HFI_COLOR_FORMAT_YUV420_TP10_UBWC}, .num_fmts = 7, }, { .codec = HFI_VIDEO_CODEC_MPEG2, -- 2.25.1