Lines Matching refs:read_domains
326 if (!(obj->base.read_domains & I915_GEM_DOMAIN_CPU)) {
521 if (!(obj->base.read_domains & I915_GEM_DOMAIN_CPU)
912 uint32_t read_domains = args->read_domains;
920 if (read_domains & I915_GEM_GPU_DOMAINS)
926 if (write_domain != 0 && read_domains != write_domain)
947 if (read_domains & I915_GEM_DOMAIN_GTT) {
1296 obj->base.read_domains = obj->base.write_domain = I915_GEM_DOMAIN_CPU;
1797 obj->base.read_domains &= ~I915_GEM_GPU_DOMAINS;
2080 if ((obj->base.read_domains & I915_GEM_DOMAIN_GTT) == 0)
2084 obj->base.read_domains &= ~I915_GEM_DOMAIN_GTT;
2292 return obj && obj->base.read_domains & I915_GEM_DOMAIN_GTT;
2763 if ((obj->base.read_domains & I915_GEM_DOMAIN_GTT) == 0)
2771 obj->base.read_domains |= I915_GEM_DOMAIN_GTT;
2773 obj->base.read_domains = I915_GEM_DOMAIN_GTT;
2840 WARN_ON(obj->base.read_domains & ~I915_GEM_DOMAIN_CPU);
2842 obj->base.read_domains = I915_GEM_DOMAIN_CPU;
2955 old_read_domains = obj->base.read_domains;
2961 obj->base.read_domains |= I915_GEM_DOMAIN_GTT;
2971 if ((obj->base.read_domains & I915_GEM_GPU_DOMAINS) == 0)
2979 obj->base.read_domains &= ~I915_GEM_GPU_DOMAINS;
3006 old_read_domains = obj->base.read_domains;
3009 if ((obj->base.read_domains & I915_GEM_DOMAIN_CPU) == 0) {
3012 obj->base.read_domains |= I915_GEM_DOMAIN_CPU;
3024 obj->base.read_domains = I915_GEM_DOMAIN_CPU;
3323 obj->base.read_domains = I915_GEM_DOMAIN_CPU;