git: kernel - Reduce interrupt latency during large framebuffer updates

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Jun 10 22:32:55 PDT 2015


commit a6aa39351756c77fb9203fdffba119aba487eee4
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Jun 10 22:30:02 2015 -0700

    kernel - Reduce interrupt latency during large framebuffer updates
    
    * When syscons scrolls the entire framebuffer is updated.  On large
      (e.g. 4K) displays this can take excessively long and delay interrupts
      on the cpu for too long.
    
    * Causes the hard sound interrupt to have high latencies and not operate
      properly.
    
    * Solved by releasing the syscons_lock() temporarily and issuing a splz()
      during long copy operations.
    
    Reported-by: swildner, others

Summary of changes:
 sys/dev/misc/syscons/sckmsrndr.c | 15 +++++++++++---
 sys/dev/misc/syscons/scvgarndr.c | 16 +++++++++------
 sys/dev/misc/syscons/syscons.c   | 43 +++++++++++++++++++++++++++++++---------
 sys/dev/misc/syscons/syscons.h   |  5 +++--
 4 files changed, 59 insertions(+), 20 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a6aa39351756c77fb9203fdffba119aba487eee4


-- 
DragonFly BSD source repository


More information about the Commits mailing list