From patchwork Sat Oct 22 00:05:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Fricke X-Patchwork-Id: 617720 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0B2C3ECDFA1 for ; Sat, 22 Oct 2022 00:07:44 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229996AbiJVAHj (ORCPT ); Fri, 21 Oct 2022 20:07:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229926AbiJVAG7 (ORCPT ); Fri, 21 Oct 2022 20:06:59 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9061F46622; Fri, 21 Oct 2022 17:06:26 -0700 (PDT) Received: from localhost (89-26-75-29.goll.dyn.salzburg-online.at [89.26.75.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: sebastianfricke) by madras.collabora.co.uk (Postfix) with ESMTPSA id 3E8FE660281F; Sat, 22 Oct 2022 01:05:25 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1666397125; bh=6+DWQ6D12NSOxQM77moNpvxny+57/A+nUvDMCeEUmOk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K/rbv30ITrs5oQT7ax46mLTvf5Sgmecz9O+jn2vAgvN36IZ1H3be48CwlOc0RnkVb xY30UzYmdj2ktoLMB/kJlAM0y49QcMFNMj/Vz/Kfe0Uu/dO5OcFF8dC99R9sL0k59z eqt0CRLqE5CshlDmA0l0mUQSOgtSMgQv0FVH/jcqLzb1AcB4OIiQXIPp0G60d5cmzO iJEmom3L8L3wtozyYDEx0Io0fglbGthxreV3s+9j0+XkMKgzduvhZPfY0tTN4/M8yy zOdRk24WmcVT6zTlpPcwf1hvDguLByUGFt7ABtQr0gjUgyi8/Lbw67WXvDTmOkgYcN 9t8SqJjXOVOvQ== From: Sebastian Fricke To: linux-media@vger.kernel.org Cc: kernel@collabora.com, nas.chung@chipsnmedia.com, hverkuil@xs4all.nl, ezequiel@vanguardiasur.com.ar, linux-kernel@vger.kernel.org, nicolas.dufresne@collabora.com, p.zabel@pengutronix.de, dafna@fastmail.com Subject: [PATCH v10 5/7] media: chips-media: wave5: Add TODO file Date: Sat, 22 Oct 2022 02:05:04 +0200 Message-Id: <20221022000506.221933-6-sebastian.fricke@collabora.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221022000506.221933-1-sebastian.fricke@collabora.com> References: <20221022000506.221933-1-sebastian.fricke@collabora.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: Nas Chung Add a TODO file with remaining elements to be improved/added. Signed-off-by: Robert Beckett Signed-off-by: Dafna Hirschfeld Signed-off-by: Sebastian Fricke Signed-off-by: Nas Chung --- drivers/staging/media/wave5/TODO | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 drivers/staging/media/wave5/TODO diff --git a/drivers/staging/media/wave5/TODO b/drivers/staging/media/wave5/TODO new file mode 100644 index 000000000000..6cc38d4ccbc9 --- /dev/null +++ b/drivers/staging/media/wave5/TODO @@ -0,0 +1,25 @@ +* Handle interrupts better + +Currently the interrupt handling uses an unusual design employing a kfifo to +transfer irq status to irq thread. This was done as a work around for dropped +interrupts seen with IRQF_ONESHOT based handling. + +This needs further investigation and fixing properly, with the aid of +C&M and StarFive engineers. + +* remove all struct fields, that are assigned to but not used in the code, add + documentation about each removed field at the macro for the register it is + related too. + +* power management handling - add (runtime_)suspen/resume cb where the clock is enabled + +* revise logic of wave5_vpu_(dec/enc)_register_framebuffer + +* check if the normal kernel endianness/__swab32 routines are sufficient. (instead of the ones + implemented in the driver) + +* Extended Codec Controls for encoder. + +implement extended codec control for HEVC/H264 encoder. +PROFILE/LEVEL/MIN_QP/MAX_QP/LOOP_FILTER/HFLIP/VFIIP/ROTATE/ +GOP_SIZE/RC_ENABLE/I_PERIOD/BITRATE.