Home
last modified time | relevance | path

Searched refs:memory_context (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/drivers/gpu/drm/tegra/
Duapi.c36 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()
[all …]
Dsubmit.c501 if (job->memory_context) in release_job()
502 host1x_memory_context_put(job->memory_context); in release_job()
603 if (context->memory_context && context->client->ops->can_use_memory_ctx) { in tegra_drm_ioctl_channel_submit()
613 job->memory_context = context->memory_context; in tegra_drm_ioctl_channel_submit()
614 host1x_memory_context_get(job->memory_context); in tegra_drm_ioctl_channel_submit()
674 if (job->memory_context) in tegra_drm_ioctl_channel_submit()
675 host1x_memory_context_put(job->memory_context); in tegra_drm_ioctl_channel_submit()
Ddrm.h83 struct host1x_memory_context *memory_context; member
/linux-6.1.9/drivers/gpu/host1x/hw/
Dchannel_hw.c63 if (job->memory_context) in submit_wait()
64 stream_id = job->memory_context->stream_id; in submit_wait()
/linux-6.1.9/include/linux/
Dhost1x.h333 struct host1x_memory_context *memory_context; member