Repository navigation
Follow Mesa main: KGSL GPU timestamps are upstream, refresh the cube and bindless patches - #20
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The scheduled build against Mesa main fails in
scripts/linux_kgsl_wsi.pywithKGSL timestamp stub changed, and two Linux patches no longer apply after it.kgsl_device_get_gpu_timestampcallskgsl_read_calibrated_ts), so the unreachable stub the script removed is gone.linux/0003:a8xx_basegained aQCTDD10497382entry next to the line the patch adds.linux/0004: thewith_crbsize inr3d_commonchanged.linux/0001:props.has_rt_workaroundbecame the quirkQCTDD10497382_rt_workaround, so the mesh shader patch no longer compiled.Fix
scripts/linux_kgsl_wsi.pykeeps only the KGSL device numbers for dma-buf feedback. The stub removal, the null check and the calibrated timestamp / present timing gating are dropped, since the timestamp now works upstream.linux/0003andlinux/0004are refreshed against the new context. Their changes are the same.linux/0001reads the renamed quirk throughFD_QUIRK.Removed
scripts/linux_kgsl_wsi.py(Linux target), made redundant by Mesa main.KHR_calibrated_timestamps,EXT_calibrated_timestampsandEXT_present_timingare now advertised on KGSL as upstream does.Tests
scripts/apply_patches.py androidandlinuxboth apply to Mesa main5e6b5424c63d.python3 -m unittest discover -s testspasses.Closes #19