commit | f6f4f033f077df093738b1ea9c2ac60453f6ff94 | [log] [tgz] |
---|---|---|
author | Sushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com> | Tue Mar 23 00:10:05 2021 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 10 23:57:11 2021 |
tree | d8feca6422c7f9fd1844c9e1dc31647537d0df7a | |
parent | f9e81640d57805a6ef54178343dc73c080b3a20a [diff] |
[M91] i915: Ensure TGL/JSL surface is aligned to LCU size Gmmlib expects surfaces of certain formats to be LCU (Largest Coded Unit) aligned on Gen11 and Gen12 devices [1, 2, 3, 4], so to match with its expectations, these minigbm changes are needed. [1] https://github.com/intel/gmmlib/blob/cac1a15c98d69ed63344dbf102898d07b50d34e5/Source/GmmLib/Texture/GmmGen12Texture.cpp#L858-L863 [2] https://github.com/intel/media-driver/pull/1166/commits/d3125c236fe7c14f17182aa67242c96a487d918c [3] https://github.com/intel/media-driver/blob/cf7085734994dcb0e5cb982d81adac938022a16b/media_driver/linux/gen12/ddi/media_sysinfo_g12.cpp#L159-L160 [4] https://github.com/intel/gmmlib/blob/cac1a15c98d69ed63344dbf102898d07b50d34e5/Source/GmmLib/Utility/GmmUtility.cpp#L171-L193 BUG=b:183410292 TEST=Camera preview buffer size should be higher than the previous Signed-off-by: Sushma Venkatesh Reddy <sushma.venkatesh.reddy@intel.com> Change-Id: I1874d2c0e10b4e4632205d5ef59d32495534d615 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2851909 Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org> Tested-by: Andres Calderon Jaramillo <andrescj@chromium.org> Commit-Queue: Andres Calderon Jaramillo <andrescj@chromium.org> (cherry picked from commit 0b57ebff9c5ff5ac4def4d0109b8866e444d3ba7) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2885385 Tested-by: Andres Calderon Jaramillo <andrescj@google.com> Auto-Submit: Andres Calderon Jaramillo <andrescj@google.com> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>