From patchwork Thu May 30 13:26:17 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: 800390 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 7089B4D8DC; Thu, 30 May 2024 13:26:29 +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=1717075591; cv=none; b=F96UCXsTcOImkY3ERxjY+dkTGKsMJNEblA8FGyGXU9mcEigr93K6LTSJ7DUbDZ+i0Vihj4K6/o1TzWFbg8CTdZiieg7gSH802pYOIUTT4JflRZoTyclJwH8z4+PJjGDpB8SvwDiTtEceyIjD3PgjJM/m6X7V54WAW1xK9fpksLw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717075591; c=relaxed/simple; bh=2YqaKbGGx17M8fYC5mL2w9EgB62MUXaplTSceygTtn0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=khR9rArr35hSL7GrfEYFr9tI27+msPP9kn14/P3yDJsCobQXOOPCB1javEI9yJpaJQehamU2/TxdCaUII4clECpAOta2giGincmvBFiCN6LmG/Xij3j0hmdAuXW/KkY9A0cQOkiRmJDr++fZQaoQg2I5X6WHZ54Om864bSw3NfA= 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=i6DyeWMP; 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="i6DyeWMP" 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=i6DyeWMPn7fqbhTS LAK+EsncXn+MGwg95oTHXpuuZyyFO4b8M1m3hq9NxSQ2I6+hj0Npw80vAq09zgLWcJ4LkE+onSBr9 zlwlqxPoFzHF9bBkcwC56eemUUeVtlKSNZ3d8I5z7/PvCOo8Ai2h9Z+q3qiAUOMSJRgw8Ae5nz2Np CL4dU+buicxEvrQ7dtWpK9iVkUKiXKZc7aZ6+bIqEWgZw7joIGy8RxVpeXPm2BqSj5DI0dqy3lYP9 8SETZ608yG3h5YdLmyBI5QTT1rcWQk8+OITn+KWgXYg5FblAcNZv09wPNr7HGfnKzGtzvlwcZT08C kWZv1ExbkFsg8fh4HA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sCfnT-003N3v-1b; Thu, 30 May 2024 13:26:24 +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 v2 1/3] media: amphion: remove unused struct 'vpu_malone_frame_buffer' Date: Thu, 30 May 2024 14:26:17 +0100 Message-ID: <20240530132619.71103-2-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240530132619.71103-1-linux@treblig.org> References: <20240530132619.71103-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 Thu May 30 13:26:18 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: 801203 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 CDB35183069; Thu, 30 May 2024 13:26:29 +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=1717075591; cv=none; b=DciKQyBtJcYeaakkVNrgYpGSOFiwEZGLTaMwuJRRyq4K7vrJbhts6G6KauexZuwVN86wOd71m+JViwXmdgZmq4K5NL727J5aGTb815wAvQ3D5GyaLvMmyhpU2X/FkIvYkStMiSYjPo88xEU4kCEPOL8PbBiiJKKsEt9T9+xNWeM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717075591; c=relaxed/simple; bh=PQ1FKcCUCeRWDVTvkdg1KM0e85klmalQaoUcQrh9OsA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=RQyA+/w6VYITYBCwiBl1O+CHyZ5s5FXijQCcUoRFVjscf5EFrME7v2QSkbDY04ReLBB/VNBW9R4NIR7ewaXNQH4TD6iPP9DmAqNkMPanoXu6MCB5wT+TmNeWqEKDjI9SgcrTOv9WkyQ9kTHlmk5c98KlB1vDOSJiJwpSjolIk2k= 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=MFP2uTCD; 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="MFP2uTCD" 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=MFP2uTCDoJJowZkS 5LU2z+54wlBrwA3G9F4tcg4zDfg/r53YInB4WsM1bRLH7zC/Xm9ZGcQ4LkS/kTt1FaqgIDSLQTiFt 85ajGwzGm7e49Lf2gclIZjl9YRR35kyGM84cNOKabzX1eJ9gEj+Jts+JZjuJ94J9lKdNcJS6gDkgt JXeNGivQoN3gmltCuFpgZOZhzRBimSU3H27vTM4TG1fS1uUOaAo6D7nj8tUROHDW24ltW2GZN1QOI tJhp4WtzjrORTIOH5k1/vLAP73AO5lxID1jCt1Z0ayxiS9ZeFmkZsBt9gh6Qt6Qzl+JHVaO1CUoa2 FWWMEO5RNi6nEhwFVg==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sCfnU-003N3v-1E; Thu, 30 May 2024 13:26:24 +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 v2 2/3] media: m2m-deinterlace: remove unused struct 'vb2_dc_conf' Date: Thu, 30 May 2024 14:26:18 +0100 Message-ID: <20240530132619.71103-3-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240530132619.71103-1-linux@treblig.org> References: <20240530132619.71103-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 Thu May 30 13:26:19 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: 800389 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 8F46418308B; Thu, 30 May 2024 13:26:30 +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=1717075592; cv=none; b=iPSma48upFqrtYyoiktowUNdPXhUK6u/gdjZd0tKy5IRjYhxjh9DsDEMC2lwa0oRC4RHgzEG9v94uvlZneW5pCTJZk8zJwUkJCN/oSyVrhsdPi7HVaToJZy3K92+kHcjTVexzXQHQHM8tPxanhS+oCBeKS+9lPYJo1a74Yq3NQs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717075592; c=relaxed/simple; bh=bSwQD465yawUp2Ku5ElftWNIaNiaph6MbYQTiNRtwbQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=qzQtr1BgAF+6yNTyinZISFDxuA8hiM/PJWe5BoY1eRr7tbtVMIwKrWZ+89ZrQFmMfLxM/vslSkxF0ASX9gAUZ4wLy4jQ9A/TiRVkezKqVK8ceSyAGAbPyr2GY6KhMR3TPJWm4wQCeHOUurNaqdkfoZn3IrYuvRW5o1bUzBE9RXk= 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=n3DiY+cH; 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="n3DiY+cH" 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=dXVsEkPZ0UFXZmXC4+4qcKJ7u4qPqtek4PZ95zexCqw=; b=n3DiY+cHSQPHJfqN bOENLVaHSlVmGlF9DYpFTubE5G1PSX4/4SNkgtwbK5e9DSi4938GB5Y4x2gwpJYxKNoCxRUc0C3R7 CPku7blsq7gHXPJEOXdOJF03zvMNPH6azyQ27Hc8NOEBe7uG4Pb5AZJVy2TcY3kFQvWbyOvlDe9mx tj7rqLoEA/MMvTvfzTCE27jXqLyaoNdia/exfLJYyDd8pvF1qwWI8lqA+OnnjpgEw3M/M5oA9yh0O HrtR6rM6k8otj3bNRIUbQHTNbTLgRwnY4v8xi/zJERljeTrRm7sl3diJ54ga4HjF3qNvqj8cIy6cS AswH+98j3IECTfxp5w==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sCfnV-003N3v-0x; Thu, 30 May 2024 13:26:25 +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 v2 3/3] media: tegra-vde: remove unused struct 'tegra_vde_h264_frame' Date: Thu, 30 May 2024 14:26:19 +0100 Message-ID: <20240530132619.71103-4-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240530132619.71103-1-linux@treblig.org> References: <20240530132619.71103-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 Acked-by: Thierry Reding --- drivers/media/platform/nvidia/tegra-vde/h264.c | 5 ----- drivers/media/platform/nvidia/tegra-vde/vde.h | 1 - 2 files changed, 6 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; diff --git a/drivers/media/platform/nvidia/tegra-vde/vde.h b/drivers/media/platform/nvidia/tegra-vde/vde.h index 0fbb1f3d2c88..b2890484b7c3 100644 --- a/drivers/media/platform/nvidia/tegra-vde/vde.h +++ b/drivers/media/platform/nvidia/tegra-vde/vde.h @@ -47,7 +47,6 @@ struct iommu_group; struct iommu_domain; struct reset_control; struct dma_buf_attachment; -struct tegra_vde_h264_frame; struct tegra_vde_h264_decoder_ctx; struct tegra_video_frame {