Lines Matching defs:copy
53 struct tegra_plane_state *copy;
56 copy = kmalloc(sizeof(*copy), GFP_KERNEL);
57 if (!copy)
60 __drm_atomic_helper_plane_duplicate_state(plane, ©->base);
61 copy->tiling = state->tiling;
62 copy->format = state->format;
63 copy->swap = state->swap;
64 copy->reflect_x = state->reflect_x;
65 copy->reflect_y = state->reflect_y;
66 copy->opaque = state->opaque;
69 copy->blending[i] = state->blending[i];
72 copy->iova[i] = DMA_MAPPING_ERROR;
73 copy->sgt[i] = NULL;
76 return ©->base;