summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNas Chung <nas.chung@chipsnmedia.com>2022-12-07 13:13:48 +0100
committerSeung-Woo Kim <sw0312.kim@samsung.com>2023-10-05 18:20:08 +0900
commitdda01fd15e4c6e56c861b7b12356fc01d0418d42 (patch)
treed6095c3e2a66f513cdffde5a4cde69ae984487f1
parent37727158c23f4ece67bcbcb04801d7fa04dd27c3 (diff)
downloadlinux-starfive-dda01fd15e4c6e56c861b7b12356fc01d0418d42.tar.gz
linux-starfive-dda01fd15e4c6e56c861b7b12356fc01d0418d42.tar.bz2
linux-starfive-dda01fd15e4c6e56c861b7b12356fc01d0418d42.zip
media: chips-media: wave5: Add TODO file
Add a TODO file with remaining elements to be improved/added. Signed-off-by: Robert Beckett <bob.beckett@collabora.com> Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Signed-off-by: Sebastian Fricke <sebastian.fricke@collabora.com> Signed-off-by: Nas Chung <nas.chung@chipsnmedia.com> [sw0312.kim: cherry-pick the commit b9ab65a219e6 from https://github.com/starfive-tech/linux/tree/JH7110_VisionFive2_6.1.y_devel] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Change-Id: I5249e0f04859224e17b3a1d7702093eedaf000ca
-rw-r--r--drivers/media/platform/chips-media/wave5/TODO18
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/media/platform/chips-media/wave5/TODO b/drivers/media/platform/chips-media/wave5/TODO
new file mode 100644
index 000000000000..2164fd071a56
--- /dev/null
+++ b/drivers/media/platform/chips-media/wave5/TODO
@@ -0,0 +1,18 @@
+* 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.
+
+* 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)
+
+* Adjust STREAMON routine for the stateful decoder to adhere to the API, which
+ declares that STREAMON can be called before source buffers have been queued.