diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-10-10 09:31:51 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-10-10 09:31:51 +0200 |
commit | d4680333dc850832258d0f38fb2a236a3f568fc8 (patch) | |
tree | 874f03f2ae358c10e072a96701325a040d55c5c8 | |
parent | 9b294bbe0ec79177298ea32746fbed03fcf62055 (diff) |
Only add native-type on EXE signals. Otherwise flush flags may
get out of sync.
-rw-r--r-- | linux-core/drm_fence.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-core/drm_fence.c b/linux-core/drm_fence.c index c25ff3b8..9a29356b 100644 --- a/linux-core/drm_fence.c +++ b/linux-core/drm_fence.c @@ -90,7 +90,9 @@ void drm_fence_handler(struct drm_device * dev, uint32_t fence_class, break; } - type |= fence->native_type; + if (is_exe) + type |= fence->native_type; + relevant = type & fence->type; if ((fence->signaled | relevant) != fence->signaled) { |