Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nv: Allow access to nvdrv:t #633

Closed
wants to merge 1 commit into from
Closed

Conversation

averne
Copy link
Contributor

@averne averne commented Nov 19, 2023

Applications wishing to access NVJPG need to initialize nvdrv:a, as nvdrv does not have permission for this channel. However, it appears that this service only allows a limited amount of memory to be mapped using /dev/nvhost-as-gpu (around 430MiB in my testing).
As a workaround, this PR restores the possibility to access nvdrv:t, which was removed in efacee6.

NB: it would be nicer to explicitely choose which type of service to initialize, like what is done in vi, but I didn't want to break backwards compatibility.

@yellows8 yellows8 closed this in 8d10ef8 Nov 20, 2023
@averne
Copy link
Contributor Author

averne commented Nov 20, 2023

Thanks for the patch

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