Lines Matching defs:write_domain
506 if (obj->base.write_domain != I915_GEM_DOMAIN_CPU) {
635 obj->base.write_domain != I915_GEM_DOMAIN_CPU) {
835 obj->base.write_domain &= ~I915_GEM_GPU_DOMAINS;
913 uint32_t write_domain = args->write_domain;
917 if (write_domain & I915_GEM_GPU_DOMAINS)
926 if (write_domain != 0 && read_domains != write_domain)
943 ret = i915_gem_object_wait_rendering__nonblocking(obj, !write_domain);
948 ret = i915_gem_object_set_to_gtt_domain(obj, write_domain != 0);
957 ret = i915_gem_object_set_to_cpu_domain(obj, write_domain != 0);
1296 obj->base.read_domains = obj->base.write_domain = I915_GEM_DOMAIN_CPU;
1424 BUG_ON(obj->base.write_domain & ~I915_GEM_GPU_DOMAINS);
1434 obj->base.write_domain = 0;
2085 obj->base.write_domain &= ~I915_GEM_DOMAIN_GTT;
2704 if (obj->base.write_domain != I915_GEM_DOMAIN_GTT)
2717 obj->base.write_domain = 0;
2726 if (obj->base.write_domain != I915_GEM_DOMAIN_CPU)
2731 obj->base.write_domain = 0;
2750 if (obj->base.write_domain == I915_GEM_DOMAIN_GTT)
2770 // BUG_ON((obj->base.write_domain & ~I915_GEM_DOMAIN_GTT) != 0);
2774 obj->base.write_domain = I915_GEM_DOMAIN_GTT;
2836 * in obj->write_domain and have been skipping the clflushes.
2839 WARN_ON(obj->base.write_domain & ~I915_GEM_DOMAIN_CPU);
2843 obj->base.write_domain = I915_GEM_DOMAIN_CPU;
2954 old_write_domain = obj->base.write_domain;
2960 obj->base.write_domain = 0;
2996 if (obj->base.write_domain == I915_GEM_DOMAIN_CPU)
3005 old_write_domain = obj->base.write_domain;
3018 BUG_ON((obj->base.write_domain & ~I915_GEM_DOMAIN_CPU) != 0);
3025 obj->base.write_domain = I915_GEM_DOMAIN_CPU;
3322 obj->base.write_domain = I915_GEM_DOMAIN_CPU;