Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp392451rdb; Thu, 15 Feb 2024 03:36:01 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCW/QH8qETGIFvU84VVlV1hMRHZ65xSKPh+u2O2f45mz0wZTn5mLEnMkG0ejE/+WKnEIvV0asb5IBvvUqZdbVOivjuDjNdYl7ctfaKa/mA== X-Google-Smtp-Source: AGHT+IEE2900qJ8Nb4mWIoAO7CMIwUS6mzaZ38uEGd7ifHVgbgONYYdGaRMGbdSqcRbhaA5JMrOh X-Received: by 2002:a05:6358:885:b0:176:5d73:34ef with SMTP id m5-20020a056358088500b001765d7334efmr1344781rwj.24.1707996960925; Thu, 15 Feb 2024 03:36:00 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707996960; cv=pass; d=google.com; s=arc-20160816; b=bPZurzYIc800PHEcnNAXQjV16u79zWJ/E9KD7xdKcnVXnJ+miT5t81jCCLtUPKkAT8 Y9Vo8XtV2wdTHqK/vIWepA55oBevtDL7zDodCcKGGTKQmQxUBFbg5uBxvjaeQ0HnNNOB KsXTCMDDHi5ZgkSpJ+89vclai64dcSnw8jbTxCYQs52gOoGeT6G1prZEwZEOrsctc44d nnKhNEd5jmYJlF4wOMltNBtYwrKIVJ/2+6y/kM8k07KuNWr/trn5+SavbUjgL7zEb9eH 5M+dQbP8JwlNppqte8Z6/1Y31QgZqq1avqh8hWEb5qKQHImeiNHjNXx3wvPVVhYFOInR sn2g== 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:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=FzTfduH6ZsgBAgstO2GjEZSx8vorH5G/25gXF1UqqFM=; fh=MJq6gyhXv2riyZaBp4ZqRdBbbMTYBrz3bznmfbSMjnc=; b=PkEo9kT+CSsmhNTIwAGGxKg/hOfiV995XShTpIOAI8UckG4jO0Zxij9JcwpE5cfKkP 0/baoaYT9Rq1V4GZghP4owQu7lt8k2KE2hfMWSsRBQeIGRKyFWdhRW0ZKjrbO/GutTXn hm2UOHd07e0H2ezTT2r/aoB/UbzlR7mBGGZeV/1aBuij6fHh7JW6FFUKD0U0ul/r2wgU 9jaj87doSeIKEoIE6G+Iw3HjBFmf0xAEJD0evkXR7Am413+nUJwX4zfIFNJs+5iOoqng en9eRbTXDIRaKVxNYY0djByDnOoEiJdXipH/e9JW9YTbg6mnWqELyOBD2PM2USFm8uKN zL5g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lvNejExa; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-66690-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66690-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b13-20020a170903228d00b001d6f89cfec9si995120plh.348.2024.02.15.03.36.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 03:36:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-66690-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=lvNejExa; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-66690-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-66690-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 8D13FB29234 for ; Thu, 15 Feb 2024 10:54:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A6B6F137C21; Thu, 15 Feb 2024 10:40:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="lvNejExa" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 783F7131E20; Thu, 15 Feb 2024 10:40:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993643; cv=none; b=PxyUw1hW/UQlkcOY7WH1eKpSO1EnPCFwb7u1UbLDACnmEOIU71kb+tIE0lnOrSSB2HIECR1zxzHuICvRdPNI758SZCaVoZu0DJk4/SgQn6FbckMTVlqbW6gs1XcpSl5Ca2CdzvpvL+bf9Iecl2yIolkD4l6p1ngPTbE2NWEF2c4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707993643; c=relaxed/simple; bh=nlxfPyXyS3DwmGG0BjGsvfTGa8VmVgMDtRQi5cpSk9A=; h=Message-ID:Date:MIME-Version:Subject:To:References:From: In-Reply-To:Content-Type; b=ss79X5S9cpLJpTnjBjQK9x/DouKzOFUxyV6l2ZuK6oTv05jNsXufNrFu1FC6j8KA2+2UR7WwEx1fCbDylMU04xNgz17FQbGS0NAWPOSeSJJ7H8hzEh3m10VK3WkNWfDl2erLRYus47XxTCWis00UftwQu7RE4wEIAA51QSikFEE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=lvNejExa; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1707993640; bh=nlxfPyXyS3DwmGG0BjGsvfTGa8VmVgMDtRQi5cpSk9A=; h=Date:Subject:To:References:From:In-Reply-To:From; b=lvNejExaB1qI5bWedf8hfgnoRDAu7TxJusVk/z7gT3DXCw2RO85eW9To3JW+1uG/f 4CLBzoNrZmESFPRgsA8Zjk0ZlOMULiBYQYH965sijPR7IydFwAhksybhj6s4WRi/19 amqFsPUd3Bse7TxQGPv5C6h+zEQzkAeRdReuPnPh6gEXhuSbUy5u+4Dvp1WdVOLpC0 InA3ywfYSCayXP3UnuMiprRyVphrBMfbPlJB6r/7Nw9uOagcz7Yo+i2vhYP9vjU8X7 rDoUdZkPMcC9LfEqhtQcWPsm2zM+3qnCs6G6RdLmFVbE2YWUtEBbey1RnMmo/Z5Znr t3tXWjJeQn+dQ== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 50CDF37820B2; Thu, 15 Feb 2024 10:40:40 +0000 (UTC) Message-ID: <602e4364-c65a-4a32-a411-444a40a5c1d7@collabora.com> Date: Thu, 15 Feb 2024 11:40:40 +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 8/9] drm/mediatek: Do not store struct cmdq_client in struct cmdq_pkt Content-Language: en-US To: Chun-Kuang Hu , Matthias Brugger , Mauro Carvalho Chehab , linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org References: <20240215004931.3808-1-chunkuang.hu@kernel.org> <20240215004931.3808-9-chunkuang.hu@kernel.org> From: AngeloGioacchino Del Regno In-Reply-To: <20240215004931.3808-9-chunkuang.hu@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Il 15/02/24 01:49, Chun-Kuang Hu ha scritto: > MediaTek drm driver has the struct cmdq_client information, so > it's not necessary to store this information in struct cmdq_pkt. > > Signed-off-by: Chun-Kuang Hu As said in patch [1/9], this should be done in the common function, not in each copy-pasted function in mtk_drm and mtk-mdp3. Regards, Angelo