Page MenuHomeFreeBSD

Fix DRM2 build on platforms without AGP.
ClosedPublic

Authored by mmel on Nov 6 2016, 7:48 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Aug 4, 8:15 AM
Unknown Object (File)
May 5 2024, 7:24 AM
Unknown Object (File)
Apr 30 2024, 7:16 AM
Unknown Object (File)
Feb 14 2024, 1:15 PM
Unknown Object (File)
Dec 20 2023, 2:17 AM
Unknown Object (File)
Nov 15 2023, 10:58 AM
Unknown Object (File)
Aug 25 2023, 4:55 PM
Unknown Object (File)
Jul 29 2023, 2:33 AM
Subscribers

Details

Reviewers
dumbbell
mmel
Summary

This allow us to compile and use DRM2 code on ARM platforms. At this time,
I have prototype of DRM2 based driver for NVIDIA Jetson TK1 (tegra124 SoC)
board.
The only remaining (known to me) issue is GEM cdev object pager (the one in
drm_gem_mmap_single()). Display subsystem on Tegra allocates it's memory
surface from DRAM, at runtime. This is in conflicts with OBJT_MGTDEVICE
attribute passed to cdev_pager_allocate() function.

Please note:
I'd prefer DRM-4.7, but linuxkpi and drm are too much AMD/Intel centrist,
mainly because "*/machine" include directory doesn't exist and these headers
are included directly. Next issue is uint32_t versus u_long type conflict in all
atomic operations.

And, at this point, I don't want to make further DRM-4.7 development
more difficult...

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

mmel retitled this revision from to Fix DRM2 build on platforms without AGP. .
mmel updated this object.
mmel edited the test plan for this revision. (Show Details)
mmel added a reviewer: dumbbell.
mmel set the repository for this revision to rS FreeBSD src repository - subversion.
mmel added a subscriber: hselasky.
mmel added a reviewer: mmel.
This revision is now accepted and ready to land.Nov 13 2016, 3:49 PM

Closed by commit rS308612: Allow DRM2 code to be built on platforms without AGP. (authored by mmel).