drm cleanup 14/x: Slightly rewrite drm debug subsystem.
Changes:
* Bring back kernel options handling through opt_drm.h that
got lost in:
ba55f2f542af67c1331fd80f611891b0a29f57bc
* Explicitly disable DRM_LINUX option, breaks LINT64
* Add some DragonFly specific debug categories to ease up
the debugging, some DRM_DEBUG prints are quite noisy
* By default don't include PID number, hard on diffs
* Handle ioctl debug prints with separate debug bits
* Implement DRM_ERROR_RATELIMITED that uses krateprintf()
* Implement and use drm_err() and drm_ut_debug_printk()
note: that current implementation might lead to more
garbled text on a very frequent writes by several cpus
After this cleanup drm modules shrink a bit in size:
[rw@_ drm]$ size z*/*.ko
text data bss dec hex filename
281585 3592 944 286121 45da9 znew/drm.ko
780618 8180 608 789406 c0b9e znew/i915.ko
1262735 45896 100
1308731 13f83b znew/radeonkms.ko
301045 3592 944 305581 4a9ad zref/drm.ko
887378 8180 608 896166 daca6 zref/i915.ko
1377609 45896 100
1423605 15b8f5 zref/radeonkms.ko