Received: by 2002:a05:7412:8598:b0:f9:33c2:5753 with SMTP id n24csp443434rdh; Tue, 19 Dec 2023 03:58:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IEkbN20bfIFcKXiqlZiz6TSHoRr3ae1VFAt2I0FuVYygdaFAw0Wuc15sKnax4Cvt1cyZU/z X-Received: by 2002:a05:6359:2d81:b0:170:7d81:a325 with SMTP id rn1-20020a0563592d8100b001707d81a325mr10343238rwb.43.1702987127856; Tue, 19 Dec 2023 03:58:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702987127; cv=none; d=google.com; s=arc-20160816; b=OVGR2HqsOkM0bbvcquGBr15blDcOpM1mg7oR3tAmgOcaer8IZsgHF5rCPJxbe59u38 fLk5wcuRDHXUVEP6DH4OYBpAKALlesbe5+YfwzXISUaU5N7yU95BARyB4ejsJGqkykbf my/bWYR+OYkE+c0r3oU8M7M8w1/uI55WqR+FnP44fEyFKKSzoEBv4vV2yZYr9cHJoKBN SWDjw+9+k1J5tNmZVUq4f5TuJJk3Ln7aUrAb/FoKmy014sJ3iK1MaSmwe9p9kT7ICOG9 cMitltwivq4Vn7JsbfoWNr2xYr8gpEMMyEQ88oGNL08O/3Y+l4YmIQebDpmkOhWFkbUu AghA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=Y6W/gNrNaGFlOaYC3hMxO2994a4+lokggs3hDaq7EMg=; fh=jBexGrO55vhvvq2ye3cQilFDwDIcGstw6HIWboX++ts=; b=SVd1zZXElYmb320d9Ft/pz8YQWUQiS3c60+YnhZ5wyaKG9xh5HYEv7Wqv2cwn/6u5l 46LF9cHMBrH6D09CcBnrw+oLd2YnGGHSO3YLjPKqfILxFsCg5w8+RbfAyQzGDSzv1Q+i Fd8XQ6PLoEMJSMJuJQGz9HZqNx0a77b0XEWup1nR6zaWR9pfHHs/m+EFcndZ5O0PKbjp WcunALxEfjnX95gVItW8AmE/RWlsj8ar8hFgnKJak4L5z0cFaUSOF0/Zexg56K07KrdA yPJzjQp03qOz1+ZzQVmM+8NvgFR8uuXSCHGwUQbu3Pk8YFWKrl9FAGePnNjCRP4T3bN1 OAwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Lo39CVdd; spf=pass (google.com: domain of linux-kernel+bounces-5124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5124-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id v34-20020a634662000000b0058afac51c12si19558637pgk.545.2023.12.19.03.58.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 03:58:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-5124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Lo39CVdd; spf=pass (google.com: domain of linux-kernel+bounces-5124-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-5124-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 09CCAB2197E for ; Tue, 19 Dec 2023 11:58:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 702A8168CC; Tue, 19 Dec 2023 11:58:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Lo39CVdd" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-wm1-f42.google.com (mail-wm1-f42.google.com [209.85.128.42]) (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 AABF81A727 for ; Tue, 19 Dec 2023 11:58:12 +0000 (UTC) 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-wm1-f42.google.com with SMTP id 5b1f17b1804b1-40c3ca9472dso51200635e9.2 for ; Tue, 19 Dec 2023 03:58:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702987091; x=1703591891; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Y6W/gNrNaGFlOaYC3hMxO2994a4+lokggs3hDaq7EMg=; b=Lo39CVdd6v0gqM3RtkqTt8yvBMbQv0xHCI53fr5qXtVNuPLVsew2uJndvBWnr8IKdu fZRa25nh7+EDEio8bW85PjSBXfgPFwt0e5wF9KRT9ydVCdIsq7gGubM0rh+wzt6PAUPX J8yA9IDEhbEuGHU4vZn3Q5dXVptY3yr9MPQZgPWOl50e4KSsMDWS6ELfj2nR1DZA6jzb pZxxYv8+4lcW89j+bezq39I3aJPN3Eb2cHou9YSy4Cg5QTA1aekeBNvj3jYSch2cv87n dZ8QuvMbxLEG+nDNzY3hDxaUsf/i8Mzgq7xXZC8JcjhwIZaPyLGJE/Kebg30JFP8eR40 A6VQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702987091; x=1703591891; h=content-transfer-encoding:in-reply-to:autocrypt: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=Y6W/gNrNaGFlOaYC3hMxO2994a4+lokggs3hDaq7EMg=; b=SkNQioDzYe2SBgoQCrOKVW6GU1rKUmgfPoE+G739xkW6mnSr7auV/Ry3SYWJUNqAjz zHdpDe7cpVbxAwLqyl8a8+lYbLhFVqmCUtv6PgVh5oPGsAFeJwI0RMGDg6H2BjgFwTYI t90f0L7NMIeza/vcfxatJo2aHIwKgcPydIJF7KSQgeQDuL4sl0jWwNtkfnW8WQAvGOCN lzMBKKD2uS6MIZkw9+f8T37M7a6l3EjDWRiioE6BkO4qG0m9rBnctTUgcXeyV068NtHi v2NIVsYh5WqGw8frOjdujy+4y3C5SlU8cJ8788jixMTC1bA+KhFkseqeQKEwaqws+D4/ nWZA== X-Gm-Message-State: AOJu0YxAFLGcIWLPVjxE0DNV+dsSdrw2R/AI0mRS/wFllnEsGjPjDGkc 0iiV2BHAhPROVoaWPdP2+RDaSw== X-Received: by 2002:a05:600c:1d8c:b0:40c:872:3c9a with SMTP id p12-20020a05600c1d8c00b0040c08723c9amr6831825wms.253.1702987090961; Tue, 19 Dec 2023 03:58:10 -0800 (PST) Received: from [192.168.199.59] (178235179206.dynamic-4-waw-k-1-3-0.vectranet.pl. [178.235.179.206]) by smtp.gmail.com with ESMTPSA id x24-20020a170906135800b00a25501f4160sm458297ejb.1.2023.12.19.03.58.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Dec 2023 03:58:10 -0800 (PST) Message-ID: Date: Tue, 19 Dec 2023 12:58:09 +0100 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 v2 18/34] media: iris: introduce and implement iris vb2 mem ops Content-Language: en-US To: Dikshita Agarwal , linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, stanimir.k.varbanov@gmail.com, quic_vgarodia@quicinc.com, agross@kernel.org, andersson@kernel.org, mchehab@kernel.org, bryan.odonoghue@linaro.org Cc: linux-arm-msm@vger.kernel.org, quic_abhinavk@quicinc.com References: <1702899149-21321-1-git-send-email-quic_dikshita@quicinc.com> <1702899149-21321-19-git-send-email-quic_dikshita@quicinc.com> From: Konrad Dybcio Autocrypt: addr=konrad.dybcio@linaro.org; keydata= xsFNBF9ALYUBEADWAhxdTBWrwAgDQQzc1O/bJ5O7b6cXYxwbBd9xKP7MICh5YA0DcCjJSOum BB/OmIWU6X+LZW6P88ZmHe+KeyABLMP5s1tJNK1j4ntT7mECcWZDzafPWF4F6m4WJOG27kTJ HGWdmtO+RvadOVi6CoUDqALsmfS3MUG5Pj2Ne9+0jRg4hEnB92AyF9rW2G3qisFcwPgvatt7 TXD5E38mLyOPOUyXNj9XpDbt1hNwKQfiidmPh5e7VNAWRnW1iCMMoKqzM1Anzq7e5Afyeifz zRcQPLaqrPjnKqZGL2BKQSZDh6NkI5ZLRhhHQf61fkWcUpTp1oDC6jWVfT7hwRVIQLrrNj9G MpPzrlN4YuAqKeIer1FMt8cq64ifgTzxHzXsMcUdclzq2LTk2RXaPl6Jg/IXWqUClJHbamSk t1bfif3SnmhA6TiNvEpDKPiT3IDs42THU6ygslrBxyROQPWLI9IL1y8S6RtEh8H+NZQWZNzm UQ3imZirlPjxZtvz1BtnnBWS06e7x/UEAguj7VHCuymVgpl2Za17d1jj81YN5Rp5L9GXxkV1 aUEwONM3eCI3qcYm5JNc5X+JthZOWsbIPSC1Rhxz3JmWIwP1udr5E3oNRe9u2LIEq+wH/toH kpPDhTeMkvt4KfE5m5ercid9+ZXAqoaYLUL4HCEw+HW0DXcKDwARAQABzShLb25yYWQgRHli Y2lv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tgxRWmI+aVTzSRpywNahzZBT695hMz81cVZJoZzaV0KaMTlSnBkrviPz1nIGHYCHJxF9r cIu0GSIyUjZ/7xslxdvjpLth16H27JCWDzDqIQMtg61063gNyEyWgt1qRSaK14JIH/DoYRfn jfFQSC8bffFjat7BQGFz4ZpRavkMUFuDirn5Tf28oc5ebe2cIHp4/kajTx/7JOxWZ80U70mA cBgEeYSrYYnX+UJsSxpzLc/0sT1eRJDEhI4XIQM4ClIzpsCIN5HnVF76UQXh3a9zpwh3dk8i bhN/URmCOTH+LHNJYN/MxY8wuukq877DWB7k86pBs5IDLAXmW8v3gIDWyIcgYqb2v8QO2Mqx YMqL7UZxVLul4/JbllsQB8F/fNI8AfttmAQL9cwo6C8yDTXKdho920W4WUR9k8NT/OBqWSyk bGqMHex48FVZhexNPYOd58EY9/7mL5u0sJmo+jTeb4JBgIbFPJCFyng4HwbniWgQJZ1WqaUC nas9J77uICis2WH7N8Bs9jy0wQYezNzqS+FxoNXmDQg2jetX8en4bO2Di7Pmx0jXA4TOb9TM izWDgYvmBE8= In-Reply-To: <1702899149-21321-19-git-send-email-quic_dikshita@quicinc.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 18.12.2023 12:32, Dikshita Agarwal wrote: > From: Vikash Garodia > > Implement the iris vb2 mem ops for buffer management for > DMABUF streaming mode. Update video driver buffer > with dma buf information. > > Signed-off-by: Vikash Garodia > Signed-off-by: Dikshita Agarwal > --- [...] > + > +void *iris_vb2_alloc(struct vb2_buffer *vb, struct device *dev, > + unsigned long size) > +{ > + return (void *)0xdeadbeef; > +} > + > +void iris_vb2_put(void *buf_priv) > +{ > +} > + > +int iris_vb2_mmap(void *buf_priv, struct vm_area_struct *vma) > +{ > + return 0; > +} Are you sure these are enough for this driver to function? Konrad