Skip to content

termux-va: optimize enablement conditions and log output - #118

Merged
lfdevs merged 4 commits into
dev/adreno-mainfrom
test/re-enable-some-extensions
Nov 7, 2026
Merged

lfdevs merged 4 commits into
dev/adreno-mainfrom
test/re-enable-some-extensions

Conversation

@lfdevs

@lfdevs lfdevs commented Nov 6, 2026

Copy link
Copy Markdown
Owner

Keep VK_KHR_external_semaphore_fd advertised by default, including for regular KGSL clients. Hide it only when TERMUX_VA_BRIDGE is explicitly set to 1 or true, preventing Termux VA clients from selecting unsupported OPAQUE_FD timeline semaphore paths.

Keep VK_KHR_external_semaphore_fd advertised by default, including for
regular KGSL clients. Hide it only when TERMUX_VA_BRIDGE is explicitly set
to 1 or true, preventing Termux VA clients from selecting unsupported
OPAQUE_FD timeline semaphore paths.
Normalize unsupported TERMUX_VA_GPU_BACKEND values to the documented
auto backend before selecting the screen. This prevents invalid
configuration from recursively re-entering tva_bridge_vscreen_create
until the VA initialization stack overflows.
Treat TERMUX_VA_BRIDGE=true the same as TERMUX_VA_BRIDGE=1 when deciding
whether to skip the generic surface clear. Keep bridge activation and
surface initialization on the same environment-value semantics.
Gate detailed VA frontend and bridge diagnostics behind DMD_VA_LOG=1.
Keep initialization failures, unsupported configurations, allocation
failures, and transport errors visible so normal clients retain only
actionable messages.
@lfdevs lfdevs changed the title freedreno/tu: gate external semaphore FD on Termux VA bridge termux-va: optimize enablement conditions and log output Nov 6, 2026
@lfdevs
lfdevs merged commit 11f6c95 into dev/adreno-main Nov 7, 2026
9 checks passed
@lfdevs
lfdevs deleted the test/re-enable-some-extensions branch November 8, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant