Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp581216pxj; Fri, 28 May 2021 10:23:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzXyUPYuVlGsInz003L6PuNr2E8ZgOI3YWTqCZOumOhDOLT5Yw4l5hDE7KQWRfnP/nFKw+ X-Received: by 2002:a05:6638:3048:: with SMTP id u8mr9496063jak.91.1622222613724; Fri, 28 May 2021 10:23:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622222613; cv=none; d=google.com; s=arc-20160816; b=au9c0dt6rY9NuWFwVBem2Z1StPejN+9X7IJKF+QSL/Qky/+wF2DbqBSd4JeWSMkDtY eLaytjCin6/3wtnPHwlR4HJ/breWCtvf5Gw5L/ystVpsQucqIGDKf0wv4mDe6xRL/RQF pZc6JTkU5J2mKrAzESrCbUqBA+P3GtcUdcIQbRnpBnjkQ7TSg7ksF4W3cfCtsMWKyGMC /KeuytWk2FrNpcFDL/o0JNmfHwz0GjwA6KJJoRb8Bts14l6aWP4czcnmTCACCha5g5Gu luunHZmZH3t7fAyJbS+AqplfIiScwfljd6oP11DA9W0M7L0DcEFQEPpt3GSX+WDLOgGR hX+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=scHG+8hUPjtbaxqAIRrNTESjQXzSH5JKl2wenbFc2w8=; b=yjfVB38L+8KRKHS7EXQcSs6TG/jkeDYV+UQQlwj3v0J3BDKq+fjIe704NC9QurWdZA PaydceuvKo77uTwb4yhqH0IF9Nu1IiYB9Ni0o3r4kMJY5TVbSWV6c36KqNQ9ks6JPQ3z cxbSXikTC1vn16mwmZPRDznQzY++LgAusmCVhQ0KT87aBKWvI22yN1X1AyUlDRytDrbu tSj9C07y4MyPWgUPtWIZoNg2B41YQCounuu8KuNl492KvY1CcLTxDz0yYWeZmug9Ijzm M1PVNVkJSmVo5SVHhYpy2gT8cpKUgsqnWgDhiVFDvS9oTSk+7GbzJTqf9aEeRnLc5juT XL0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=eFsE+o2q; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h6si5925168ili.157.2021.05.28.10.23.10; Fri, 28 May 2021 10:23:33 -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=@nexus-software-ie.20150623.gappssmtp.com header.s=20150623 header.b=eFsE+o2q; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234486AbhE1RXL (ORCPT + 99 others); Fri, 28 May 2021 13:23:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230193AbhE1RXK (ORCPT ); Fri, 28 May 2021 13:23:10 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9A37C061574 for ; Fri, 28 May 2021 10:21:34 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id o127so2517731wmo.4 for ; Fri, 28 May 2021 10:21:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nexus-software-ie.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=scHG+8hUPjtbaxqAIRrNTESjQXzSH5JKl2wenbFc2w8=; b=eFsE+o2qmtozyY3vcZ5kChHif66Zz7w0LGa+0qR/yny+Eq63joHpR0T9uLI7KYeDwe E/97imlGcQldR/Xs1VjBGkSKYHemWveFoMY1O4VqByLTtJKKSK6tZ31V4nclGy66T01h 3kt+osmVafd4clK7SkYS0fM4BhQniaKp5vg+5iOM44Zxdx2VW3oTmd9r2KLRpcQg28QU IMX5ajbh8K8O+uf/aqgjf7IsS5wqUrsoSjtQUbApxNSNZHHm7FTKQ0Hs6uMWGZ7PpiEs LsTQURHghAxQmEg8EaZu/1n+ZzI0d/7fCxWVszp59txlXGMQlipYpQgRHUruRizU2epx 9nQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=scHG+8hUPjtbaxqAIRrNTESjQXzSH5JKl2wenbFc2w8=; b=EQHNkHxMcU1qdw2EML7qjvFkWa4zPgQa1UCaXINYg6JIK+4TK4xBaEBP/IZ7Owko65 QO7ZbAMeZ4uIbfFSfumIlM1kdEYNprzSEMKVklscL19AwTXu3Dya0gzp2iSebHUSg8Io k2geNkJ9O//I+MVumkkNWHzEMuiSYBmI/LVC8wUSnU4xWN2e/R92HqeSHhnU0rNr/g5w zdnUCcdDjIZ8K5ZcAmDGfoUMBcML2OQ4K7mCvpwiHZ8jSefoTA/9h1Hxs0WGYOrJPTKb cDj7wP4KNGaNK0pbdghrFvGV+n2anW/wgJNj+YnpMFkXnXvRYNOKLEuwmPALbIaAqo2Z LNgg== X-Gm-Message-State: AOAM53043NmYxkhnwoGYIxomWSJ7grBFCuDS96UWgqfIs8scacVbv6Zw ERT8gkVYLfSB20mvEAw3yyj3sA== X-Received: by 2002:a05:600c:21c3:: with SMTP id x3mr9311858wmj.131.1622222493417; Fri, 28 May 2021 10:21:33 -0700 (PDT) Received: from [192.168.0.162] (188-141-3-169.dynamic.upc.ie. [188.141.3.169]) by smtp.gmail.com with ESMTPSA id z17sm8767546wrt.81.2021.05.28.10.21.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 May 2021 10:21:32 -0700 (PDT) Subject: Re: [PATCH] venus: helper: do not set constrained format for UBWC To: Mansur Alisha Shaik , linux-media@vger.kernel.org, stanimir.varbanov@linaro.org Cc: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, vgarodia@codeaurora.org, dikshita@codeaurora.org References: <1622195288-18541-1-git-send-email-mansur@codeaurora.org> From: Bryan O'Donoghue Message-ID: Date: Fri, 28 May 2021 18:23:16 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <1622195288-18541-1-git-send-email-mansur@codeaurora.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 28/05/2021 10:48, Mansur Alisha Shaik wrote: > Do not set constrained format explicitly for UBWC > > Signed-off-by: Mansur Alisha Shaik Could you give a little bit more detail on why, what the side effects are ? Should this be a Fixes: ? > --- > drivers/media/platform/qcom/venus/helpers.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/drivers/media/platform/qcom/venus/helpers.c b/drivers/media/platform/qcom/venus/helpers.c > index b813d6dba..e4b8a2a 100644 > --- a/drivers/media/platform/qcom/venus/helpers.c > +++ b/drivers/media/platform/qcom/venus/helpers.c > @@ -1138,8 +1138,12 @@ int venus_helper_set_format_constraints(struct venus_inst *inst) > if (!IS_V6(inst->core)) > return 0; > > + if (inst->opb_fmt == HFI_COLOR_FORMAT_NV12_UBWC) > + return 0; > + > pconstraint.buffer_type = HFI_BUFFER_OUTPUT2; > pconstraint.num_planes = 2; > + Additional newline should be removed. > pconstraint.plane_format[0].stride_multiples = 128; > pconstraint.plane_format[0].max_stride = 8192; > pconstraint.plane_format[0].min_plane_buffer_height_multiple = 32; > --- bod