diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-12-06 23:41:52 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2013-12-06 23:41:52 +0000 |
commit | a397ce0f220b0095c77ed10fad2a162efd9977c7 (patch) | |
tree | 3dfd21c37406e55344aa09125e27d8915ce645ea /sys/dev/pci/drm/i915/i915_gem.c | |
parent | 85c40b0ccf01002be70a88df3505803f0070d14e (diff) |
Change a WARN_ON into a BUG_ON to match Linux.
Diffstat (limited to 'sys/dev/pci/drm/i915/i915_gem.c')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_gem.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/i915/i915_gem.c b/sys/dev/pci/drm/i915/i915_gem.c index d00431c72a4..a3734d5c9f6 100644 --- a/sys/dev/pci/drm/i915/i915_gem.c +++ b/sys/dev/pci/drm/i915/i915_gem.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i915_gem.c,v 1.55 2013/12/06 20:13:29 kettenis Exp $ */ +/* $OpenBSD: i915_gem.c,v 1.56 2013/12/06 23:41:51 kettenis Exp $ */ /* * Copyright (c) 2008-2009 Owain G. Ainsworth <oga@openbsd.org> * @@ -3255,7 +3255,7 @@ i915_gem_object_set_to_gtt_domain(struct drm_i915_gem_object *obj, bool write) /* It should now be out of any other write domains, and we can update * the domain values for our changes. */ - WARN_ON((obj->base.write_domain & ~I915_GEM_DOMAIN_GTT) != 0); + BUG_ON((obj->base.write_domain & ~I915_GEM_DOMAIN_GTT) != 0); obj->base.read_domains |= I915_GEM_DOMAIN_GTT; if (write) { obj->base.read_domains = I915_GEM_DOMAIN_GTT; |