evadot / drm-subtree

WIP drm drivers for FreeBSD
15 stars 9 forks source link

Panfrost drm WIP #3

Closed bukinr closed 3 years ago

bukinr commented 3 years ago

All of these is needed for Panfrost driver operation with Mali T860 GPU. Some changes are memory leak fixes. I'm able to run sway and browsers (drm_kqfilter is needed for sway). The Mali T860 has three hardware threads, so DRM scheduler is ported from Linux. It works well with no memory or file destriptor leakages. demo: https://twitter.com/onewilshire/status/1363792441871073280

evadot commented 3 years ago

Just a question before I start reading code, from which Linux version the scheduler have been taken ? Currently this repo is synced with 5.6

bukinr commented 3 years ago

Just a question before I start reading code, from which Linux version the scheduler have been taken ? Currently this repo is synced with 5.6

From linux master as of Nov-Dec 2020 I think, but I can sync with latest master or any branch

evadot commented 3 years ago

Just a question before I start reading code, from which Linux version the scheduler have been taken ? Currently this repo is synced with 5.6

From linux master as of Nov-Dec 2020 I think, but I can sync with latest master or any branch

Ok, well if that works with what's in 5.6 that would ease future update to use that.

bukinr commented 3 years ago

rework needed