예제 #1
0
static void context_close(struct i915_gem_context *ctx)
{
	i915_gem_context_set_closed(ctx);
	if (ctx->ppgtt)
		i915_ppgtt_close(&ctx->ppgtt->base);
	ctx->file_priv = ERR_PTR(-EBADF);
	i915_gem_context_put(ctx);
}
예제 #2
0
파일: mock_context.c 프로젝트: mdamt/linux
void mock_context_close(struct i915_gem_context *ctx)
{
	i915_gem_context_set_closed(ctx);

	i915_ppgtt_close(&ctx->ppgtt->base);

	i915_gem_context_put(ctx);
}