git: drm/i915: Avoid dead-locking the userland.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Fri May 20 09:29:36 PDT 2016


commit 9c52345db761baa0a08634b3e93a233804b7a91b
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Fri May 20 18:54:04 2016 +0300

    drm/i915: Avoid dead-locking the userland.
    
    Was happening for some time and the cause is still unclear.
    On exit Xorg doesn't return from kernel and is unkillable.
    Sometimes even panics on haswell, it is better to avoid that.
    
    Also reduce spam on laptops with eDP panels on i915 load.
    Great opportunity to use just implemented DRM_ERROR_RATELIMITED()
    macro that uses krateprintf().

Summary of changes:
 sys/dev/drm/i915/intel_dp.c    | 7 +++++++
 sys/dev/drm/i915/intel_fbdev.c | 6 ++++++
 2 files changed, 13 insertions(+)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9c52345db761baa0a08634b3e93a233804b7a91b


-- 
DragonFly BSD source repository



More information about the Commits mailing list