diff options
author | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-16 11:35:10 -0700 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2008-08-16 11:35:10 -0700 |
commit | 893315d49ed678de95cf6ac553efb6093cc7343c (patch) | |
tree | f16c5ddd7a23d6f9faf37424ed023fc59903a384 /shared-core | |
parent | 5f9e4a764ac7acf1311388dd693bc4f0e6c0c4e9 (diff) |
i915: set domain properly on fb mapping, flush out changes
The user visible ioctl does this, but since we call into GEM internals
directly, we have to flush things ourselves. Fixes initial fb console
corruption.
Diffstat (limited to 'shared-core')
-rw-r--r-- | shared-core/i915_drv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h index 087c6d64..a031afd2 100644 --- a/shared-core/i915_drv.h +++ b/shared-core/i915_drv.h @@ -627,6 +627,9 @@ int i915_gem_init_ringbuffer(struct drm_device *dev); void i915_gem_cleanup_ringbuffer(struct drm_device *dev); int i915_gem_do_init(struct drm_device *dev, unsigned long start, unsigned long end); +int i915_gem_object_set_domain(struct drm_gem_object *obj, + uint32_t read_domains, + uint32_t write_domain); void i915_gem_retire_work_handler(struct work_struct *work); void i915_gem_clflush_object(struct drm_gem_object *obj); #endif |