drm cleanup 15/x: Separate vblank DRM_DEBUG spam.
authorzrj <rimvydas.jasinskas@gmail.com>
Wed, 18 May 2016 14:11:34 +0000 (17:11 +0300)
committerzrj <zrj@dragonflybsd.org>
Fri, 20 May 2016 08:50:52 +0000 (11:50 +0300)
commitc4c19efcc51b5801c0d80c37437494ebafb1a77b
treec992dfa323d079914d75910a4b327a507bfe77d7
parent91fff9508a3e728a36f31cd3d1d080cb76cadc2e
drm cleanup 15/x: Separate vblank DRM_DEBUG spam.

Attempt to make drm_debug=1 a bit more usable.
Rationale: vblank events are very noisy and makes live debugging
almost impossible. Also create problems with dmesg buffers etc.

By separating it into separate debug bit, hw.drm.debug=0x21f mode
is very useful to notice problems as they happen, spec during
reboot sequence when root fs is already unmounted and debugging
relies on dmesg contents getting into next boot to be read.

Bigger part of changes are in radeonkms side to prevent running
verbose diagnostics.
sys/dev/drm/drm_irq.c
sys/dev/drm/radeon/cik.c
sys/dev/drm/radeon/evergreen.c
sys/dev/drm/radeon/r600.c
sys/dev/drm/radeon/si.c