Searched refs:memory_context (Results 1 – 4 of 4) sorted by relevance
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()119 context->memory_context = host1x_memory_context_alloc( in tegra_drm_ioctl_channel_open()124 if (IS_ERR(context->memory_context)) { in tegra_drm_ioctl_channel_open()125 if (PTR_ERR(context->memory_context) != -EOPNOTSUPP) { in tegra_drm_ioctl_channel_open()126 err = PTR_ERR(context->memory_context); in tegra_drm_ioctl_channel_open()133 context->memory_context = NULL; in tegra_drm_ioctl_channel_open()155 if (context->memory_context) in tegra_drm_ioctl_channel_open()156 host1x_memory_context_put(context->memory_context); in tegra_drm_ioctl_channel_open()217 if (context->memory_context) in tegra_drm_ioctl_channel_map()[all …]
496 if (job->memory_context) in release_job()497 host1x_memory_context_put(job->memory_context); in release_job()598 if (context->memory_context && context->client->ops->can_use_memory_ctx) { in tegra_drm_ioctl_channel_submit()608 job->memory_context = context->memory_context; in tegra_drm_ioctl_channel_submit()609 host1x_memory_context_get(job->memory_context); in tegra_drm_ioctl_channel_submit()661 if (job->memory_context) in tegra_drm_ioctl_channel_submit()662 host1x_memory_context_put(job->memory_context); in tegra_drm_ioctl_channel_submit()
74 struct host1x_memory_context *memory_context; member
342 struct host1x_memory_context *memory_context; member