From patchwork Sat May 25 00:01:44 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13673862 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 59F75C148; Sat, 25 May 2024 00:02:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716595367; cv=none; b=FqmCXZJmjngdHKmdu6+ipWnVWpOKj6l/Pkc9q8QhXQ5GQ051I12ETNfGrqbEHSD/kVFQHAPA32O4vw4kA9pCcnGbh7tWDMy2L4594VI2+IaDuJq7TccyydyV01epunmjhziFV2A8sPaq3LQJ4srGXiBo4zCqeln4WQ2YD415c4A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716595367; c=relaxed/simple; bh=2YqaKbGGx17M8fYC5mL2w9EgB62MUXaplTSceygTtn0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=aR1fAY0ZKu1uH09RHhimcoD+v9PuFNatc9j1O8YruGc1nse5x/0anq+6hv/bRMU5HmxXQHinRtKvUfhMZTZdtXqi0AS1+P2Jg0rHdpEcrOdGaKE3E7j8N6/GabTKZj3seIIJJo1twU49shw+BpMJvx9PCfJ5VOeg4ODQI1rce2U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=fiTbZUbb; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="fiTbZUbb" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=dxvZUetAiCIC18M8tRvFfOtRH138FBKR3Nc2RIdT6Bw=; b=fiTbZUbbGmW88f/n Av5fxmyoPAC4gamH+ipFxyhpE8qoRzLM1ab0G+5aN5qAU+xvnOk11YeP/2AuJXTHfpqWyQjXbaHAY OFO5uwTldVaZV+OIVE+fHrQuotR9AbOErOdLtyYWxtrM6fQHNPDvO0Te0s3NqM6oWMtlbcbLpox0r G405/kzB6wcbAZ3Ci429c6v4nA4UZtiQYNjCDFcOffiD6rCKaAQrAF+NafmtgOxz8icTDwJ3pm/s6 3bYQ9/mYZygpfqc7bVsy66LfP/YuKbnRjqeBIPDvrUe1QyLloozTNbI0k5Vt9yC7I7jK2LHndBYx0 Hj5aHYOZWxtW4/7y5w==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sAerp-002TKv-1d; Sat, 25 May 2024 00:02:34 +0000 From: linux@treblig.org To: mchehab@kernel.org, ming.qian@nxp.com, eagle.zhou@nxp.com, digetx@gmail.com, jonathanh@nvidia.com Cc: linux-tegra@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 1/3] meida: amphion: remove unused struct 'vpu_malone_frame_buffer' Date: Sat, 25 May 2024 01:01:44 +0100 Message-ID: <20240525000146.282500-2-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240525000146.282500-1-linux@treblig.org> References: <20240525000146.282500-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Dr. David Alan Gilbert" 'vpu_malone_frame_buffer' has been unused since the original commit 145e936380ed ("media: amphion: implement malone decoder rpc interface"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/media/platform/amphion/vpu_malone.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/media/platform/amphion/vpu_malone.c b/drivers/media/platform/amphion/vpu_malone.c index d3425de7bccd..4769c053c6c2 100644 --- a/drivers/media/platform/amphion/vpu_malone.c +++ b/drivers/media/platform/amphion/vpu_malone.c @@ -207,11 +207,6 @@ struct vpu_malone_dbglog_desc { u32 reserved; }; -struct vpu_malone_frame_buffer { - u32 addr; - u32 size; -}; - struct vpu_malone_udata { u32 base; u32 total_size; From patchwork Sat May 25 00:01:45 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13673861 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 52E3C197; Sat, 25 May 2024 00:02:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716595365; cv=none; b=ajOeocAu24Rz555SH1psgSESxnNEBckcAYrBOkWKMJDWYVSX/UXS0MLWBJy0ae8CLIEcmFmRE5Fo7eIvtep7iuYJcFKgFQMzFF4hKrTC6PlmB++Mt1oMTJiY65tpRnD5Z5gTsfR0xMpdD5xBa4arEmSBHh3QHWOYq1mnu2nMJwk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716595365; c=relaxed/simple; bh=PQ1FKcCUCeRWDVTvkdg1KM0e85klmalQaoUcQrh9OsA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=XMSVyev0fTUevuppGQ7zCJB3XlmDVyy+nvL4L4yuXtUHH9vH9JS4+eyUUadAghjPYP9YCu+CLGMgogxKxtjIrcvAZxEXyNVjdP3ndi73QrJxhRENPJ0BvPP43iLkIeNBnh5rJfO3w3HBPhWjL37inHI0hHtG1/xx4rLeMqE4Qnk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=Hnn8pprL; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="Hnn8pprL" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=z+2wS/pFD/rzX9s5/BP3xqTq5VR+XvUAMuFhzTB9kkw=; b=Hnn8pprLxv6kCCjQ 31AYxdCj9hAHXI9ETaweIM2Oik5u+lqSR0JrIClfLoxLtpoKv2Aot8KKiVIlGt7bdRCMRK6YccfTO 1ReqvQf5XK3L3RhtUn0gYH0MCQSh40YZOkB11jyhL3r/16RvcJUzirPcB9Cz3NahkdGJsri2hCXh4 Aj5FeSphGQTwVQBE17c3L1BQcnfAXtYi+00WUQTNTBvLRlfO0SvsZapQguBwSdzzHrjg/rnltjHB8 LThpSGk8oMnVRzWf0HVqZSEyF8lhNxmKbiWgTTcd+VhdSFuV/WgFzcZhVB8ekYQVZY3h0vu+7IMS0 4FsJ0AV+7IawW0bI3g==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sAert-002TKv-2D; Sat, 25 May 2024 00:02:38 +0000 From: linux@treblig.org To: mchehab@kernel.org, ming.qian@nxp.com, eagle.zhou@nxp.com, digetx@gmail.com, jonathanh@nvidia.com Cc: linux-tegra@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 2/3] media: m2m-deinterlace: remove unused struct 'vb2_dc_conf' Date: Sat, 25 May 2024 01:01:45 +0100 Message-ID: <20240525000146.282500-3-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240525000146.282500-1-linux@treblig.org> References: <20240525000146.282500-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Dr. David Alan Gilbert" 'vb2_dc_conf' has been unused since the original commit 8f0755c06b90 ("[media] media: Add mem2mem deinterlacing driver"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/media/platform/m2m-deinterlace.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/media/platform/m2m-deinterlace.c b/drivers/media/platform/m2m-deinterlace.c index 96b35a5d6174..5adcef80c698 100644 --- a/drivers/media/platform/m2m-deinterlace.c +++ b/drivers/media/platform/m2m-deinterlace.c @@ -724,10 +724,6 @@ static const struct v4l2_ioctl_ops deinterlace_ioctl_ops = { /* * Queue operations */ -struct vb2_dc_conf { - struct device *dev; -}; - static int deinterlace_queue_setup(struct vb2_queue *vq, unsigned int *nbuffers, unsigned int *nplanes, unsigned int sizes[], struct device *alloc_devs[]) From patchwork Sat May 25 00:01:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dr. David Alan Gilbert" X-Patchwork-Id: 13673863 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 299E214AB4; Sat, 25 May 2024 00:02:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716595369; cv=none; b=n/v6mZIlz1XKb73zcaGQjh1TRRnxAS39y0TbMVqYBa0zVCZIROHTquFW0BhnHygfCG+saiHthaXJ0FRy1+aWxx1tXQsrBxFinp8iahK22moTj0ml9hsCB3bRlOeKV+tiB6QpCYtb0Ec3gtBakYS2JHwL9OaROpZr2krOFqdPK+Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716595369; c=relaxed/simple; bh=CCcjSZqzsrKz0nV7FFyP45kQ4TL0l3/Kmr9dL8UzXb4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FkuLF0qLd/W6AlORdaOT7dUUFE9QNsK6t3itt+uY+OpURQB2UjHrEVq3dZFOtWs1HOx+G5WpE0xKQoCi934aRvrxjGxJ80J3PI5e1xBOTR4VO0GnC6rJIMzsSh9qBkQHZ2HXeDglXfyfjZaS4ZqcwMa9l2xjooCCSMlm6xLbYsU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=gM/WzCfV; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="gM/WzCfV" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=47fHQ0JrYe5JAX3Z6GnvPA5cT+jmMOB4fSbGBxYNQQI=; b=gM/WzCfVpR0Tn8h7 hq3fNwcL9ItLKNPTqwH2vrLb537Ds0YfJtLNK38I+heDV/fEz71HGsVqyNkg3fyBs564TWhNSXPAt tPot6Bi2MKhzHofiL073ScMz+3Kn6q6TaZQ/xyTL5YMwVGugalxBnsHD9IfXRcZ4FA4Cl34ZzECvo vrjF9ntIMb2dBMByzFAQ2jjWdeKLv9jzkigXcUkRSsv2M9g+1R/aHsC+QdobA4a2HxVAUEmgvQ8iI m5ty2d71F3ix0yW0Qu5M8DNUtxvAM7vGgVg6CpJmZY7jwJqvGyXgxcWS4JHYzNox58wOGgLRIpAjC K1XFRzsGvdPW20kZJw==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sAerz-002TKv-0z; Sat, 25 May 2024 00:02:43 +0000 From: linux@treblig.org To: mchehab@kernel.org, ming.qian@nxp.com, eagle.zhou@nxp.com, digetx@gmail.com, jonathanh@nvidia.com Cc: linux-tegra@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 3/3] media: tegra-vde: remove unused struct 'tegra_vde_h264_frame' Date: Sat, 25 May 2024 01:01:46 +0100 Message-ID: <20240525000146.282500-4-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240525000146.282500-1-linux@treblig.org> References: <20240525000146.282500-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-media@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "Dr. David Alan Gilbert" 'tegra_vde_h264_frame' has been unused since commit 313db7d235a0 ("media: staging: tegra-vde: Remove legacy UAPI support"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/media/platform/nvidia/tegra-vde/h264.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/media/platform/nvidia/tegra-vde/h264.c b/drivers/media/platform/nvidia/tegra-vde/h264.c index cfea5572a1b8..d8812fc06c67 100644 --- a/drivers/media/platform/nvidia/tegra-vde/h264.c +++ b/drivers/media/platform/nvidia/tegra-vde/h264.c @@ -19,11 +19,6 @@ #define FLAG_B_FRAME 0x1 #define FLAG_REFERENCE 0x2 -struct tegra_vde_h264_frame { - unsigned int frame_num; - unsigned int flags; -}; - struct tegra_vde_h264_decoder_ctx { unsigned int dpb_frames_nb; unsigned int dpb_ref_frames_with_earlier_poc_nb;