diff options
author | Chris Wilson <[email protected]> | 2017-07-07 13:12:54 +0100 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-07-10 11:18:08 -0700 |
commit | 833108ac14ade91f54cc6e1e157ecc19b62da404 (patch) | |
tree | a2260f529f57504215bce601afaa9266d55bb073 /SConstruct | |
parent | 3b28eaabf603657c388caa72bc92b1b660d00b2a (diff) |
i965: Use brw_bo_wait() for brw_bo_wait_rendering()
Currently, we use set_domain() to cause a stall on rendering. But the
set-domain ioctl has the side-effect of changing the kernel's cache
domain underneath the struct_mutex, which may perturb state if there was
no rendering to wait upon and in general is much heavier than the
lockless wait-ioctl. Historically libdrm used set-domain as we did not
have an explicit wait-ioctl (and the patches to teach it to use wait if
available were lost in the mists). Since mesa already depends upon a
kernel support the wait-ioctl, we do not need to supply a fallback.
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'SConstruct')
0 files changed, 0 insertions, 0 deletions