Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp4633646pxv; Tue, 6 Jul 2021 05:48:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxyUPDkcwGcMu/KC9bHl87DGllfK1Bv5hGH/UhPXT5NwwrjoMZx4xFS3N9kv/O/R5Eirsyj X-Received: by 2002:a05:6e02:194e:: with SMTP id x14mr12748194ilu.75.1625575735539; Tue, 06 Jul 2021 05:48:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1625575735; cv=none; d=google.com; s=arc-20160816; b=ArfptmPcaP2a6QwoeMMjbklQ+MBQRBVA979nbdKlbxsfFbVUNML0jH3lAxi/XuRhRp EH/fzItJK9u5NSRc6+w6OiIlTImu7PmQsWpOcLIf7gGFqgqroVwHZw6udYc5dAVvSdBm bUrCaG6B3ZS+4s7sNxKQP74DEuqnjHzI8Dh70gfQ3GS4KC+BU6D1fd1m1gmmV8gzi/B2 FimtsRCcwmABplHcGzMgZ5jPlo2axbERayJrXslPM6urNlaJo4a76GxUL0xAL2R+cI21 ltC/RZQAbgAtAYyZul/DKe/p5vI+0EWo7OzNTV2e4mG8SIIQJwdmaYonjaplvWa1yFo1 BvSQ== 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=iQ3yOn/VjqEGKTdI++jjchtNRpo4xx2SRNzVvDxUg3A=; b=BH5SruIp/XzjNqKFhnO77s2lODohEpvK2d0BrP0deVz367v9Ihh1w4ACM52jWpmF/x uj7xrX/LSXgjfR17GhIGntwmP3eDbodwyZFLI9nHcJGS2ee3iFhgzHq6fvrDmnibBZ+w SZlp8b+qiXY5pJ1S5KjLZIAsE3Iw+HW3DWioJeiDbU4E5AjQSKZBqPPrpdwiIuc65M7c K+YoyD9PQPNFUIobPY+M0k70T+45ZNzV/m/4+Ei9C11BG5dIP38IFpwmDwaf2i3hxvTX YJ2R9N2ZDJOYrCJw1cZD/f/xXnJc4hXmLbdBg+wdsebvB4L3ltGuHNLTaO4banZvfiRw kKbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=NkKdOFgL; 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 h26si15614461jav.114.2021.07.06.05.48.44; Tue, 06 Jul 2021 05:48:55 -0700 (PDT) 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=NkKdOFgL; 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 S236074AbhGFMs6 (ORCPT + 99 others); Tue, 6 Jul 2021 08:48:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240804AbhGFMsl (ORCPT ); Tue, 6 Jul 2021 08:48:41 -0400 Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65E7BC0225A5 for ; Tue, 6 Jul 2021 05:41:11 -0700 (PDT) Received: by mail-wr1-x433.google.com with SMTP id l5so9162069wrv.7 for ; Tue, 06 Jul 2021 05:41:11 -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 :mime-version:content-transfer-encoding; bh=iQ3yOn/VjqEGKTdI++jjchtNRpo4xx2SRNzVvDxUg3A=; b=NkKdOFgL/b5cHNIFxbGHFGF/hyb+j3sLHFwCNN/eZlDyMXf/e/BCK6o88C2Fc7Jh9G UWBUXL4BheLJhdJmlYaVr+Ld0BoZsfvHAO+BX8xkA4MjNFR01MNSMNiY0IE/DoHwo+wW T6tDIO7ApOlpR35YKGOMzmNHsF6ojw49fInCnUIMmgxUkLNmtSlXG0IP5aE4TEfjs7w1 BUVF+KRfB63HPmLB5y+MrPBtoJ7Qi8l5QrC0jMJMp1bVT7AS6kjnxiLJCom0GEGW24x+ NRQDUu2Cxv5yg4VJxAhOlz48yab5eEFjQsOwD+GL0AwwtSDD+BsUh2ba4NFvodtLDAoo HOxQ== 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:mime-version:content-transfer-encoding; bh=iQ3yOn/VjqEGKTdI++jjchtNRpo4xx2SRNzVvDxUg3A=; b=iqO6rgVFMV7mjmP69yo2tkqBhCqAKuVnK8eBDWqwE4rxD3GW1AS4iGXLzjLeGnJVPf 2oV9k9Ns+8yYQ8UUcOyuRmdQ+8MDbUOASNcL4flgYRWfKfdCbjwLcwAWs90KAl9herku MHwCcM6smwkWOL4ppXp/5qw/nSaZLSSsUToUY60lwkmtPSvn4ebZhKbSz030QN/u+dQu k/SUKFoiRSRA2r6HZhAWnuu0LGwYxxdHf8x5rvQu61lN0wXmXme6SJXj6Ph/MsyLMfjt g7Zm2qGqQ0vszk6apbBWL1sB64Oojz/R7FUSzpHiwaOh/cgKrYDOKWMz44tq/gZfqxzf bpDw== X-Gm-Message-State: AOAM532QbYIYE+aHBTfPOUxKeTjvjVdgMoLRZC3lVvRsvK6RzheMWJeW ci72UQ+Yb12wtt7MuqzAksijdw== X-Received: by 2002:a05:6000:18a7:: with SMTP id b7mr21762185wri.348.1625575269997; Tue, 06 Jul 2021 05:41:09 -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.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jul 2021 05:41:09 -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 4/5] venus: hfi_platform: Correct supported compressed format Date: Tue, 6 Jul 2021 15:40:33 +0300 Message-Id: <20210706124034.773503-5-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210706124034.773503-1-stanimir.varbanov@linaro.org> References: <20210706124034.773503-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 d8243b22568a..d98caa6f1011 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