|
@@ -3091,7 +3091,7 @@ i915_gem_object_pin_to_display_plane(struct drm_i915_gem_object *obj,
|
|
/* It should now be out of any other write domains, and we can update
|
|
/* It should now be out of any other write domains, and we can update
|
|
* the domain values for our changes.
|
|
* the domain values for our changes.
|
|
*/
|
|
*/
|
|
- BUG_ON((obj->base.write_domain & ~I915_GEM_DOMAIN_GTT) != 0);
|
|
|
|
|
|
+ obj->base.write_domain = 0;
|
|
obj->base.read_domains |= I915_GEM_DOMAIN_GTT;
|
|
obj->base.read_domains |= I915_GEM_DOMAIN_GTT;
|
|
|
|
|
|
trace_i915_gem_object_change_domain(obj,
|
|
trace_i915_gem_object_change_domain(obj,
|