diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-09-25 11:51:08 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2006-09-25 11:51:08 +0200 |
commit | 273eb7833d69db2d72430d5c96c21cebd05c206e (patch) | |
tree | 9e0e2f5b10052427a2e72b7d235de67599884434 /linux-core/i915_fence.c | |
parent | a02155a0d92d3933d42a3655db261446bfe72b44 (diff) |
Add /proc filesystem buffer / fence object accounting.
Check for NULL pointer in the i915 flush handler.
Remove i915_sync_flush declaration.
Diffstat (limited to 'linux-core/i915_fence.c')
-rw-r--r-- | linux-core/i915_fence.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linux-core/i915_fence.c b/linux-core/i915_fence.c index 7491a672..49dc254f 100644 --- a/linux-core/i915_fence.c +++ b/linux-core/i915_fence.c @@ -49,6 +49,9 @@ static void i915_perform_flush(drm_device_t * dev) uint32_t diff; uint32_t sequence; + if (!dev_priv) + return; + if (fm->pending_exe_flush) { sequence = READ_BREADCRUMB(dev_priv); |