aboutsummaryrefslogtreecommitdiff
path: root/shared-core
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2007-12-14 12:45:55 -0800
committerKeith Packard <keithp@keithp.com>2007-12-15 12:10:42 -0800
commit5f23519b14e54823c94f5db5ad81e6bd5ffd3877 (patch)
treeed49d43a66f5e1d3ef5e3daf87bc6bcaa2602484 /shared-core
parentb5181d2506be332db8b07c02cdf37c6e25545c4d (diff)
Document drm_bo_handle_validate. Match drm_bo_do_validate parameter order.
Document parameters and usage for drm_bo_handle_validate. Change parameter order to match drm_bo_do_validate (fence_class has been moved to after flags, hint and mask values). Existing users of this function have been changed, but out-of-tree users must be modified separately.
Diffstat (limited to 'shared-core')
-rw-r--r--shared-core/i915_dma.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/shared-core/i915_dma.c b/shared-core/i915_dma.c
index 80416726..df395ba7 100644
--- a/shared-core/i915_dma.c
+++ b/shared-core/i915_dma.c
@@ -994,11 +994,9 @@ int i915_validate_buffer_list(struct drm_file *file_priv,
}
rep.ret = drm_bo_handle_validate(file_priv, req->bo_req.handle,
- req->bo_req.fence_class,
- req->bo_req.flags,
- req->bo_req.mask,
+ req->bo_req.flags, req->bo_req.mask,
req->bo_req.hint,
- 0,
+ req->bo_req.fence_class, 0,
&rep.bo_info,
&buffers[buf_count].buffer);