Lines Matching full:linear
54 } else if (dobj->linear) { in armada_gem_free_object()
55 /* linear backed memory */ in armada_gem_free_object()
57 drm_mm_remove_node(dobj->linear); in armada_gem_free_object()
59 kfree(dobj->linear); in armada_gem_free_object()
83 if (obj->page || obj->linear) in armada_gem_linear_back()
130 /* Otherwise, grab it from our linear allocation */ in armada_gem_linear_back()
142 ret = drm_mm_insert_node_generic(&priv->linear, node, in armada_gem_linear_back()
150 obj->linear = node; in armada_gem_linear_back()
153 ptr = ioremap_wc(obj->linear->start, size); in armada_gem_linear_back()
156 drm_mm_remove_node(obj->linear); in armada_gem_linear_back()
158 kfree(obj->linear); in armada_gem_linear_back()
159 obj->linear = NULL; in armada_gem_linear_back()
166 obj->phys_addr = obj->linear->start; in armada_gem_linear_back()
167 obj->dev_addr = obj->linear->start; in armada_gem_linear_back()
181 /* only linear objects need to be ioremap'd */ in armada_gem_map_object()
182 if (!dobj->addr && dobj->linear) in armada_gem_map_object()
419 } else if (dobj->linear) { in armada_gem_prime_map_dma_buf()
448 if (!dobj->linear) in armada_gem_prime_unmap_dma_buf()