aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strcpy.c
diff options
context:
space:
mode:
authorJames Hughes <[email protected]>2020-02-17 15:31:45 +0000
committerEric Anholt <[email protected]>2020-03-04 22:15:27 -0800
commit7f2a09ecf2e8d86e22598dfb879db48e72c5a40e (patch)
tree312662a816ec48e039e1a22f9602ccf430cff42a /lib/test_fortify/write_overflow-strcpy.c
parent83794ee6c13b41c7db86ccfcaa20dc360b08fdb6 (diff)
drm/vc4: Replace wait_for macros to remove use of msleep
The wait_for macro's for Broadcom VC4 driver used msleep, which is inappropriate due to its inaccuracy at low values (minimum wait time is about 30ms on the Raspberry Pi). This sleep was triggering in v3d_clean_caches(), causing us to only be able to dispatch ~33 compute jobs per second. This patch replaces the macro with the one from the Intel i915 version which uses usleep_range to provide more accurate waits. v2: Split from the v3d patch in case this tickles modesetting bugs (by anholt) Signed-off-by: James Hughes <[email protected]> Signed-off-by: Eric Anholt <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions