summaryrefslogtreecommitdiff
path: root/linux-core/drm_fence.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-core/drm_fence.c')
-rw-r--r--linux-core/drm_fence.c4
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) {