summaryrefslogtreecommitdiff
path: root/linux-core/drm_objects.h
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-03-30 15:14:45 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2008-03-30 15:14:45 +0200
commit1f4ba62567d32fdd32786273326e1aab17d5d412 (patch)
tree761e1021ca71af286fa9e9c8d0cd527e7b93d797 /linux-core/drm_objects.h
parentb8567bafff58cfb9d77145088fd5b8ad2e5cde6b (diff)
[i915] Report buffer state _after_ fence submission to user-space.
This fixes a problem where the wrong bo->fence_type was reported, and also saves some memory space. [bo core] export the drm_bo_fill_rep_arg function.
Diffstat (limited to 'linux-core/drm_objects.h')
-rw-r--r--linux-core/drm_objects.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_objects.h b/linux-core/drm_objects.h
index 69e3f67f..1f5d6ee2 100644
--- a/linux-core/drm_objects.h
+++ b/linux-core/drm_objects.h
@@ -746,6 +746,8 @@ extern int drm_bo_pfn_prot(struct drm_buffer_object *bo,
unsigned long dst_offset,
unsigned long *pfn,
pgprot_t *prot);
+extern void drm_bo_fill_rep_arg(struct drm_buffer_object *bo,
+ struct drm_bo_info_rep *rep);
/*