diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-12-15 11:42:11 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-12-15 11:42:11 +0000 |
commit | 8c70ecbdfd54a068c4679801134340a61a67f792 (patch) | |
tree | 2de8530be81af6001aa97b98d7258f192cb0a8a9 /sys/dev/pci/drm/i915/i915_trace.h | |
parent | 0bcc6a43ae8f7a3aed5dd41e156c202c02fdd006 (diff) |
Overhaul the pread and pwrite code to match what Linux does. Should fix a few
more cache coherency issues, hopefully reducing the number of artifacts
showing up the screen.
Diffstat (limited to 'sys/dev/pci/drm/i915/i915_trace.h')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_trace.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/i915/i915_trace.h b/sys/dev/pci/drm/i915/i915_trace.h index 15503b4e632..67cb00404f9 100644 --- a/sys/dev/pci/drm/i915/i915_trace.h +++ b/sys/dev/pci/drm/i915/i915_trace.h @@ -1,4 +1,4 @@ -/* $OpenBSD: i915_trace.h,v 1.9 2013/12/01 11:47:13 kettenis Exp $ */ +/* $OpenBSD: i915_trace.h,v 1.10 2013/12/15 11:42:10 kettenis Exp $ */ /* * Copyright (c) 2013 Mark Kettenis <kettenis@openbsd.org> * @@ -47,6 +47,18 @@ trace_i915_gem_object_change_domain(struct drm_i915_gem_object *obj, } static inline void +trace_i915_gem_object_pwrite(struct drm_i915_gem_object *obj, + u32 offset, u32 len) +{ +} + +static inline void +trace_i915_gem_object_pread(struct drm_i915_gem_object *obj, + u32 offset, u32 len) +{ +} + +static inline void trace_i915_gem_object_bind(struct drm_i915_gem_object *obj, bool mappable) { } |