gstreamer1.0-plugins-bad: handle padded buffers in wl_shm buffer creation#1985
gstreamer1.0-plugins-bad: handle padded buffers in wl_shm buffer creation#1985tdarote wants to merge 1 commit into
Conversation
|
This patch is for gstreamer1.0-plugins-bad and not wayland so please rename the PR and commit to |
…tion Use GstBuffer metadata when constructing wl_shm buffers so stride and size reflect the actual buffer layout. This fixes incorrect rendering with DMA-backed buffers that include padding or custom strides. Signed-off-by: Tushar Darote <tdarote@qti.qualcomm.com>
done |
lumag
left a comment
There was a problem hiding this comment.
Why is it being submitted here rather than OE-Core?
This patch is intended to live in meta-qcom. We are following the same practice used for other Qualcomm‑specific enablement patches, where required functionality is carried in the BSP layer to support current platforms. |
The change is not Qualcomm-specific. It can affect other platforms. Please submit it to OE-Core instead. |
How is this qualcomm specific? |
Test run workflowTest jobs for commit 12aa8ca
All jobs summary
|
Test Results 24 files - 40 24 suites - 262 51m 27s ⏱️ - 2h 43m 54s For more details on these failures, see this check. Results for commit 12aa8ca. ± Comparison against base commit 05ac1c3. This pull request removes 48 and adds 2 tests. Note that renamed tests count towards both. |
|
@tdarote why are you trying to submit a PR? Have you read the README inside OE-Core? |
ok , got it, we need to send mail to openembedded-core@lists.openembedded.org |
|
@tdarote did you succeed in sending the email? |
OE-Core contributions need to be sent via the mailing list. We have an internal review process for upstream submissions, so I’ve created an OSR ticket for this change. Once it’s approved, I’ll send the patch to openembedded-core@lists.openembedded.org. Since the upstream timeline is not guaranteed, would it be acceptable to keep this change here as a temporary downstream patch until it is available in OE-Core? |
|
@tdarote you just need to join the Landing the patch here will create additional troubles if the patch is later accepted to Yocto. |
|
Hi @lumag, The upstream change has now been merged: I’ve also sent a request to oe-core, but we don’t yet have visibility into their merge timeline. Given that, would it be okay to carry a backported patch in meta-qcom until it lands in oe-core? |
|
It is already merged in master-next (https://git.openembedded.org/openembedded-core/commit/?h=master-next&id=cd081145a764c916ecc8190cc66be3b4ad557a5a), so it should land in master over the next few days. So no need to land in meta-qcom for now. I believe it is also needed for wrynose, so that would have to be proposed to wrynose as well once it lands in master. |

Use GstBuffer metadata when constructing wl_shm buffers so stride and size reflect the actual buffer layout. This fixes incorrect rendering with DMA-backed buffers that include padding or custom strides.