Received: by 2002:a05:7412:7c14:b0:fa:6e18:a558 with SMTP id ii20csp423895rdb; Mon, 22 Jan 2024 08:16:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IFwzpMeml7Fwe3KAvUas9xBV917Ziiz6MgS9U55srD7DSfjJHabXMYjI8m4vHbOylomkP/e X-Received: by 2002:aa7:d8d2:0:b0:55c:6ca7:7d52 with SMTP id k18-20020aa7d8d2000000b0055c6ca77d52mr79869eds.68.1705940217964; Mon, 22 Jan 2024 08:16:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705940217; cv=pass; d=google.com; s=arc-20160816; b=gFHRvWnlAusoojFEwwq814sRKyPTKthcxEcRxkEVL7wa2A34a5F0ByLypcXQN1W5oK dUPv7ewNLAHQUj/+VPR9iOxalorMQH7EXlUnnLQYsYGGk83jAlTQsrVA0HqKwGW5Hvtf t8RwpZEN5qWtYXgbwTldhNDwtdfn30QS7NIE9N+WQETJUPu74breWebvAoZ1XKRMs9UM MA8p1DXbxYY/4yUMSO9O+cxBC3TwRfurF7U/bzYTzPawd5Z0mffU3f2RnNrn6QeO19/j KtpEokqvx3r0ykCUqagGrWMQWy7a9zoRjKv1Pjn9LbDEQdTljBdXi9bSQ95X0Ah819la SLqA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=tlxi8b8oDDKokQlPnmcikOTjVRP/PxK9QnUm6yUSqlc=; fh=v1i+qdmH+gCoosEGFl1xvQllyNW0IydW57EUekoYlKw=; b=JVsG7t22JUJdqgKwuEu4aNQ2uSUQGpzB5bhXuiFY1UhqMtzZrc7a+LZr7weu4XhDSx 4JZ4qT6rIX7EIbeVORkmWk5rUiyxozy4tF4hSBr+9AmEY7MwN1eytm4GSHhW38JjH85J zUthz9SrJXKVRR+mAQ0c8ABydv/hYPmmhA6zmOjp7zVKCw83k0ggVFhR+cKwFJCz4Qxs W363/hZNoEcbortZtkVrBccPpG5YxIALCpz2tM7UjmaVcY/e2Es6NffM/8rQWpnXxLgb GzqTzppHh1NmqqeSQKtTKyAKFvLBy2ULRK8bgt/dMhjYHcmV1SIBc2dzWznksDaXbUms UyhQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m+pPdXxF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-33465-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id ev7-20020a056402540700b0055384d0bf72si11406308edb.289.2024.01.22.08.16.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Jan 2024 08:16:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-33465-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m+pPdXxF; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-33465-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-33465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 4E2561F25D4B for ; Mon, 22 Jan 2024 16:16:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4B6F1130E49; Mon, 22 Jan 2024 15:13:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="m+pPdXxF" Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF040130E28 for ; Mon, 22 Jan 2024 15:13:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705936406; cv=none; b=lVIDD2hpJFEqZ38/fCXz9LgDGrucinYKFbireKd99tJE8cFxvWuuV2FJdpGzm2mfxODIoRcYqKN7K0BaMuoUR4pbyevTduF0OHzgbHukwANdaJWz9D4ul6M4ZrX6rgeebvC+17MB1kL9nhGuXOPLEzuUyZCzRxqtIpBb7pAmF08= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705936406; c=relaxed/simple; bh=56AXuFbyDotBIe0zRySCPe31hcHy1morlPgUrVeQcq8=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=CDRsHXBsPtVYO7bRSFZg14L52aQc/YwVkII8WrrRPdooOKnFU80fdQsrXVIx3NKCSuK407yAsxzgz2dmM8calqxLk9WAzIplnFbrMb31rMINchWlVrpgrb8hG9Ig08BkwsOrdT+vi8HOfL3mF5L6VEFzsICjrWhKCpiGhi5/obY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=m+pPdXxF; arc=none smtp.client-ip=209.85.221.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-wr1-f51.google.com with SMTP id ffacd0b85a97d-33921b8988fso2889005f8f.3 for ; Mon, 22 Jan 2024 07:13:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705936403; x=1706541203; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=tlxi8b8oDDKokQlPnmcikOTjVRP/PxK9QnUm6yUSqlc=; b=m+pPdXxFwEUWzYHp79xR17vD6km0z/jVH97JPLEH9eRR9QPn9TfaxfCIvzIBdjIWzM S8fwQlxKNMcOBvTeAELGjZ0lg6w2BqkjUwJI188NpriVVkVcNY7tfJSJ4Q9C0vIj9Bja hjNbQ3G8JnxmfBtFURC8UZqkICOs9gu3ATnqKLEQU/ePu4nIGsYVDa2X+oMOszBFou65 p8ppKraCyeIaHuuNOSn6nDbkpjvv6c9iWSanXF+fdStA50/u2b7tWxzpxKCWh5LftEw7 XNoSi34QjwdTuqhMm5Vh/Xs9uNo7QHPf+PXDW1FqwYMZd1SveCeDZC0UyCdlwFpKIFnE 1UlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705936403; x=1706541203; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=tlxi8b8oDDKokQlPnmcikOTjVRP/PxK9QnUm6yUSqlc=; b=LQH5O2ijWQaEL+dKV33R//ixsBLrTUrH22fOx7RVzx/pqlUwc7HOmQrKCqg1b6iWvt qostNEE03Eu0Ldxsdm2Sutlknwn3wQGes4KIhpXlvCyvfF3qNvwZ7S0sqG0ZLxSO2BR4 gawlOw4ifsadFphbKeXvo/B7+95d9b7S6SNxTZhE1Qv1kMk8AMUITepGltD3TX2fZstC cDLHHdgrVO+/pYbldUzCSrO71/Z+jx1mBHJ1mcNcZtL0cBwMzBM3uszPJRlktCsPSSua jLBMlX3S862GSHNB68pT6IBCV2Q4zInG2ii/xVmJ75kdf1q0lqSACqsVV76UxMVaGSCz 0Jjw== X-Gm-Message-State: AOJu0YyAf2Lm2GsKnTcF7Uh4vVFLuVMXZ0eahyO/0NYdwmp7bYoUpoNu glr/VdcEpWj81017RSzYKY3idO9Z+8ZDzZBCZ6MjVRZGqeYLAhk8KeznM5zj/1E= X-Received: by 2002:a5d:5886:0:b0:337:9b43:bb4e with SMTP id n6-20020a5d5886000000b003379b43bb4emr2846308wrf.74.1705936403055; Mon, 22 Jan 2024 07:13:23 -0800 (PST) Received: from [192.168.100.48] ([37.228.218.3]) by smtp.gmail.com with ESMTPSA id b16-20020a5d5510000000b0033924c2fadfsm7216881wrv.17.2024.01.22.07.13.21 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jan 2024 07:13:22 -0800 (PST) Message-ID: <3f68ee9d-13fd-4818-b6b4-b3c26bf998ed@linaro.org> Date: Mon, 22 Jan 2024 15:13:26 +0000 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 6/6] media: venus: core: Add SC8280XP resource struct Content-Language: en-US To: Konrad Dybcio , Stanimir Varbanov , Vikash Garodia , Andy Gross , Bjorn Andersson , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Marijn Suijten , Konrad Dybcio , linux-media@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230731-topic-8280_venus-v1-0-8c8bbe1983a5@linaro.org> <20230731-topic-8280_venus-v1-6-8c8bbe1983a5@linaro.org> From: Bryan O'Donoghue In-Reply-To: <20230731-topic-8280_venus-v1-6-8c8bbe1983a5@linaro.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 04/08/2023 21:09, Konrad Dybcio wrote: > Add SC8280XP configuration data and related compatible. > > Signed-off-by: Konrad Dybcio > --- > drivers/media/platform/qcom/venus/core.c | 45 ++++++++++++++++++++++++++++++++ > 1 file changed, 45 insertions(+) > > diff --git a/drivers/media/platform/qcom/venus/core.c b/drivers/media/platform/qcom/venus/core.c > index 5f285ae75e9d..32591b624a36 100644 > --- a/drivers/media/platform/qcom/venus/core.c > +++ b/drivers/media/platform/qcom/venus/core.c Reviewing this series, I think my input here has not been helpful or correct. 1. Declaring encoders/decoders in dts or yaml is wrong, accepted. 2. We can make a platform choice to hard-code that here in the platform declarations. 3. Remove the requirement from yaml for sc8280xp to declare decoder encoder 3. Profit. Existing dtb all, literally all do the same thing first block decoder, second block encoder. Rather than perform extensive surgery to venus to remediate the original yaml sin - hard-code decoder/encoder into platform code and deprecate the legacy over time. Yes that means fixing to block 0 as decoder and block 1 as encoder but that is the defacto situation we have now, we may as well make it dejure. --- bod