diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2008-01-30 22:06:02 +0100 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2008-01-30 22:06:02 +0100 |
commit | f1edb7ad91d8b92057ffa02eb162e3740d05a147 (patch) | |
tree | 9d852b6ceab256a96f9589a4b69d92f18d660abf /linux-core/nouveau_buffer.c | |
parent | 9a7e45858d8faa7afbe31b130d2de1be781085da (diff) |
Simplify the fencing code and differentiate between flushes and
waiting types.
Add a "command_stream_barrier" method to the bo driver.
Diffstat (limited to 'linux-core/nouveau_buffer.c')
-rw-r--r-- | linux-core/nouveau_buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-core/nouveau_buffer.c b/linux-core/nouveau_buffer.c index a652bb1d..11549317 100644 --- a/linux-core/nouveau_buffer.c +++ b/linux-core/nouveau_buffer.c @@ -294,5 +294,6 @@ struct drm_bo_driver nouveau_bo_driver = { .init_mem_type = nouveau_bo_init_mem_type, .evict_flags = nouveau_bo_evict_flags, .move = nouveau_bo_move, - .ttm_cache_flush= nouveau_bo_flush_ttm + .ttm_cache_flush= nouveau_bo_flush_ttm, + .command_stream_barrier = NULL }; |