commit | 01c40a17249727472da3f52e2f344cc2cc4138c4 | [log] [tgz] |
---|---|---|
author | Mikulas Patocka <mpatocka@redhat.com> | Mon Oct 08 12:57:35 2018 +0200 |
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | Mon Oct 08 12:57:35 2018 +0200 |
tree | 8ec4aa2139d8f3a2bda32432481f8fef0388da83 | |
parent | c09bcc91bb94ed91f1391bffcbe294963d605732 [diff] |
mach64: optimize wait_for_fifo This is a simple optimization for fifo waiting that improves scrolling performance by 5%. If the queue has more free entries that what we consume, we can skip the costly register read next time. Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Reviewed-by: Ville Syrjälä <syrjala@sci.fi> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>