Lines Matching refs:memory_context
36 if (context->memory_context) in tegra_drm_channel_context_close()
37 host1x_memory_context_put(context->memory_context); in tegra_drm_channel_context_close()
118 context->memory_context = host1x_memory_context_alloc( in tegra_drm_ioctl_channel_open()
121 if (IS_ERR(context->memory_context)) { in tegra_drm_ioctl_channel_open()
122 if (PTR_ERR(context->memory_context) != -EOPNOTSUPP) { in tegra_drm_ioctl_channel_open()
123 err = PTR_ERR(context->memory_context); in tegra_drm_ioctl_channel_open()
130 context->memory_context = NULL; in tegra_drm_ioctl_channel_open()
152 if (context->memory_context) in tegra_drm_ioctl_channel_open()
153 host1x_memory_context_put(context->memory_context); in tegra_drm_ioctl_channel_open()
214 if (context->memory_context) in tegra_drm_ioctl_channel_map()
215 mapping_dev = &context->memory_context->dev; in tegra_drm_ioctl_channel_map()