diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-10-08 12:57:35 +0200 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2018-10-08 12:57:35 +0200 |
commit | 01c40a17249727472da3f52e2f344cc2cc4138c4 (patch) | |
tree | 8ec4aa2139d8f3a2bda32432481f8fef0388da83 /crypto | |
parent | mach64: fix image corruption due to reading accelerator registers (diff) | |
download | linux-01c40a17249727472da3f52e2f344cc2cc4138c4.tar.xz linux-01c40a17249727472da3f52e2f344cc2cc4138c4.zip |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions