[intel-gem] Add DRM_IOCTL_I915_GEM_SW_FINISH to flag CPU writes
authorKeith Packard <keithp@keithp.com>
Fri, 20 Jun 2008 07:19:42 +0000 (00:19 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 20 Jun 2008 07:21:57 +0000 (00:21 -0700)
commit52e5d24fae4af6f2f4a5304a516c8c5ab347a11b
tree8e2c07e5f765cc50be01f44df2b64ef966fba5c6
parente7424e4580159b0ac3e232674dff5c862e851dff
[intel-gem] Add DRM_IOCTL_I915_GEM_SW_FINISH to flag CPU writes

When a software fallback has completed, usermode must notify the kernel so
that any scanout buffers can be synchronized. This ioctl should be called
whenever a fallback completes to flush CPU and chipset caches.
libdrm/intel/intel_bufmgr_gem.c
linux-core/i915_gem.c
shared-core/i915_dma.c
shared-core/i915_drm.h
shared-core/i915_drv.h