Skip to content

Commit

Permalink
PR #217 from Arun-Prasad-V: Porting stride alignment patch from JP 5.…
Browse files Browse the repository at this point in the history
…0.2 to 5.1.2 & 6.0
  • Loading branch information
Nir-Az authored Jul 16, 2024
2 parents ddcafa5 + bc82cc4 commit bd44de8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1530,6 +1530,15 @@ diff --git a/include/media/tegra_camera_core.h b/include/media/tegra_camera_core
index 788cf77dc..421c22491 100644
--- a/include/media/tegra_camera_core.h
+++ b/include/media/tegra_camera_core.h
@@ -23,7 +23,7 @@
/* Width alignment */
#define TEGRA_WIDTH_ALIGNMENT 1
/* Stride alignment */
-#define TEGRA_STRIDE_ALIGNMENT 1
+#define TEGRA_STRIDE_ALIGNMENT 64
/* Height alignment */
#define TEGRA_HEIGHT_ALIGNMENT 1
/* Size alignment */
@@ -37,6 +37,8 @@
#define TEGRA_IMAGE_FORMAT_DEF 32

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,15 @@ diff --git a/include/media/tegra_camera_core.h b/include/media/tegra_camera_core
index e6d9a2b1..38634b77 100644
--- a/include/media/tegra_camera_core.h
+++ b/include/media/tegra_camera_core.h
@@ -18,7 +18,7 @@
/* Width alignment */
#define TEGRA_WIDTH_ALIGNMENT 1
/* Stride alignment */
-#define TEGRA_STRIDE_ALIGNMENT 1
+#define TEGRA_STRIDE_ALIGNMENT 64
/* Height alignment */
#define TEGRA_HEIGHT_ALIGNMENT 1
/* Size alignment */
@@ -32,6 +32,8 @@
#define TEGRA_IMAGE_FORMAT_DEF 32

Expand Down

0 comments on commit bd44de8

Please sign in to comment.