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...