Skip to content

Instantly share code, notes, and snippets.

@devarsht
Created June 4, 2024 07:21
Show Gist options
  • Save devarsht/18455f1744b6b6b8f33dd505a4ca2651 to your computer and use it in GitHub Desktop.
Save devarsht/18455f1744b6b6b8f33dd505a4ca2651 to your computer and use it in GitHub Desktop.
v12_range_diff.txt
1: ee3aa2f8cca5 < -: ------------ kunit/fortify: Fix memcmp() test to be amplitude agnostic
2: 95c55c62bae7 < -: ------------ Add linux-next specific files for 20240523
3: 63cf8110893d ! 1: 8a8b7a1918b6 media: dt-bindings: Add Imagination E5010 JPEG Encoder
@@ Commit message
Minimum resolution supported is 64x64 and Maximum resolution supported is
8192x8192.
- [1]: AM62A TRM (Section 7.6 is for JPEG Encoder)
- Link: https://www.ti.com/lit/pdf/spruj16
-
+ Link: https://www.ti.com/lit/pdf/spruj16 [1] (Section 7.6 JPEG Encoder)
Co-developed-by: David Huang <d-huang@ti.com>
Signed-off-by: David Huang <d-huang@ti.com>
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Rob Herring <robh@kernel.org>
---
- V11:
- - No change
- V10:
- - No change
- V9:
- - No change
- V8:
- - No change
- V7:
- - No change
- V6:
- - No change
+ V6->V12: No change
V5:
- Add Reviewed-By tag
V4:
4: 6ee43ea57ef8 ! 2: c32d33b37917 media: imagination: Add E5010 JPEG Encoder driver
@@ Commit message
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
Reviewed-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
---
- V11:
- - No change
-
- V10:
+ V10->V12
- No change
V9:
5: 54bf8c4913bb ! 3: 8e1fb5567dc6 media: v4l2-jpeg: Export reference quantization and huffman tables
@@ Commit message
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
---
+ V12: Fix html-doc warnings by removing * from args
V11: No change
V10: Add description for new macros introduced in this patchset
V1->V9: No change (Patch introduced in V7)
@@ drivers/media/v4l2-core/v4l2-jpeg.c: int v4l2_jpeg_parse_huffman_tables(void *bu
+/**
+ * v4l2_jpeg_get_reference_quantization_tables - Get reference quantization
+ * tables as defined in ITU-T.81
-+ * @*ref_luma_qt: Output variable pointing to luma quantization table
-+ * @*ref_chroma_qt: Output variable pointint to chroma quantization table
++ * @ref_luma_qt: Output variable pointing to luma quantization table
++ * @ref_chroma_qt: Output variable pointing to chroma quantization table
+ */
+void v4l2_jpeg_get_reference_quantization_tables(const u8 **ref_luma_qt, const
+ u8 **ref_chroma_qt)
@@ drivers/media/v4l2-core/v4l2-jpeg.c: int v4l2_jpeg_parse_huffman_tables(void *bu
+
+/**
+ * v4l2_jpeg_get_zig_zag_scan - Get zigzag scan table as defined in ITU-T.81
-+ * @*ref_zigzag: Output variable pointing to zigzag scan table
++ * @ref_zigzag: Output variable pointing to zigzag scan table
+ */
+void v4l2_jpeg_get_zig_zag_scan(const u8 **ref_zigzag)
+{
@@ drivers/media/v4l2-core/v4l2-jpeg.c: int v4l2_jpeg_parse_huffman_tables(void *bu
+/**
+ * v4l2_jpeg_get_reference_huffman_tables - Get reference huffman tables as
+ * defined in ITU-T.81
-+ * @*ref_luma_dc_ht : Output variable pointing to huffman table for luma DC
-+ * @*ref_luma_ac_ht : Output variable pointing to huffman table for luma AC
-+ * @*ref_chroma_dc_ht : Output variable pointing to huffman table for chroma DC
-+ * @*ref_chroma_ac_ht : Output variable pointing to huffman table for chroma AC
++ * @ref_luma_dc_ht : Output variable pointing to huffman table for luma DC
++ * @ref_luma_ac_ht : Output variable pointing to huffman table for luma AC
++ * @ref_chroma_dc_ht : Output variable pointing to huffman table for chroma DC
++ * @ref_chroma_ac_ht : Output variable pointing to huffman table for chroma AC
+ */
+void v4l2_jpeg_get_reference_huffman_tables(const u8 **ref_luma_dc_ht,
+ const u8 **ref_luma_ac_ht,
-: ------------ > 4: 8f75e1b42fb1 media: Documentation: Document v4l2-jpeg helper functions
6: 1b448a7433b2 ! 5: 0114d5778f0b media: imagination: Use exported tables from v4l2-jpeg core
@@ Commit message
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
---
- V11: No change
- V10: No change
- V1->V9 (No change, patch introduced in V7)
+ V1->V12 (No change, patch introduced in V7)
## drivers/media/platform/imagination/e5010-jpeg-enc.c ##
@@
7: 2d9e710eedc9 ! 6: 695e38435c61 media: verisilicon : Use exported tables from v4l2-jpeg for hantro codec
@@ Commit message
Reviewed-by: Chen-Yu Tsai <wenst@chromium.org>
Acked-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
---
- V11: No change
+ V11->V12: No change
V10: Fix typo in commit message title
V9: No change
V8: Add Reviewed-by and Acked-by tags
8: 59cb1eb9e480 ! 7: 47b0ced85c0e math.h: Add macros for rounding to closest value
@@ Commit message
* roundclosest(17, 5) = 15
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
+ Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
NOTE: This patch is inspired from the Mentor Graphics IPU driver [1]
which uses similar macro locally and which is updated in further patch
in the series to use this generic macro instead along with other drivers
having similar requirements.
- [1]:
- https://elixir.bootlin.com/linux/v6.8.9/source/drivers/gpu/ipu-v3/ipu-image-convert.c#L480
+ Link: https://elixir.bootlin.com/linux/v6.8.9/source/drivers/gpu/ipu-v3/ipu-image-convert.c#L480 [1]
+ V12:
+ - Add reviewed-by
V11:
- Fix commenting style per review comments and remove extra whitespace
-: ------------ > 8: c7ddfac940b3 math.h: Use kernel-doc syntax for divison functions
9: 1d877e8f1549 ! 9: c65881a83727 Documentation: core-api: Add math.h macros and functions
@@ Commit message
file.
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
+ Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
+ V12: Add Reviewed-by
V11: Fix title for math function header
V10: Patch introduced
V1->V9 (No change)
10: 5db25a1b8b99 ! 10: 51f234f2de3a lib: add basic KUnit test for lib/math
@@ Commit message
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
+ Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
[devarsht: Rebase to 6.9, remove kernel.h, update Kconfig and change license to GPL]
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
---
+ Changes since v11:
+ * Add Reviewed-by tag
+
Changes since v10:
* Include headers per IWYU principle and add module description
11: 348609611395 ! 11: eee7cd2a278d lib: math_kunit: Add tests for new macros related to rounding to nearest value
@@ Commit message
Add tests for round_closest_up/down and roundclosest macros which round
to nearest multiple of specified argument. These are tested with kunit
- tool as shared here [1].
-
- [1]: https://gist.github.com/devarsht/3f9042825be3da4e133b8f4eda067876
+ tool as shared here [1] :
+ Link: https://gist.github.com/devarsht/3f9042825be3da4e133b8f4eda067876 [1]
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
+ Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
- V1->V11 (No change, patch introduced in V8)
+ V1->V12 (No change, patch introduced in V8)
## lib/math/math_kunit.c ##
@@ lib/math/math_kunit.c: static void round_down_test(struct kunit *test)
12: 1ff191bb3cd7 ! 12: 708e8851167c media: imagination: Round to closest multiple for cropping region
@@ Commit message
crop/compose rectangle as close as possible to the requested
one."
- [1] :
- https://www.kernel.org/doc/Documentation/userspace-api/media/v4l/vidioc-g-selection.rst
-
+ Link: https://www.kernel.org/doc/Documentation/userspace-api/media/v4l/vidioc-g-selection.rst [1]
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
---
+ V12: No change
V11: No change
V10: No change
V9: No change
13: 8310345b3e51 ! 13: fe697d252138 gpu: ipu-v3: Use generic macro for rounding closest to specified value
@@ Commit message
Signed-off-by: Devarsh Thakkar <devarsht@ti.com>
---
+ V12: No change
V11: No change
V10: No change
V9: No change
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment