diff options
author | Dave Airlie <airlied@redhat.com> | 2010-10-05 15:51:38 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-10-05 15:51:38 +1000 |
commit | 05813ad5f440a33cc7e222982a120f62028aa887 (patch) | |
tree | f2fdbdc2b0447ce713aa42d0748680fbf4b46e65 /src/gallium/winsys/r600/drm/r600_priv.h | |
parent | 49866c8f34579420a30c33f76cfb2d77bafcdf0a (diff) |
r600g: add bo busy backoff.
When we go to do a lot of bos in one draw like constant bufs we need
to avoid bouncing off the busy ioctl, this mitigates by backing off
on busy bos for a short amount of times.
Diffstat (limited to 'src/gallium/winsys/r600/drm/r600_priv.h')
-rw-r--r-- | src/gallium/winsys/r600/drm/r600_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/winsys/r600/drm/r600_priv.h b/src/gallium/winsys/r600/drm/r600_priv.h index 76a7ba9ec2..285a192e74 100644 --- a/src/gallium/winsys/r600/drm/r600_priv.h +++ b/src/gallium/winsys/r600/drm/r600_priv.h @@ -66,6 +66,8 @@ struct radeon_bo { void *data; struct list_head fencedlist; boolean shared; + int64_t last_busy; + boolean set_busy; }; struct r600_bo { |