Home
last modified time | relevance | path

Searched refs:user_sseu (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/i915/gem/
Di915_gem_context.c820 struct drm_i915_gem_context_param_sseu user_sseu; in set_proto_ctx_sseu() local
824 if (args->size < sizeof(user_sseu)) in set_proto_ctx_sseu()
830 if (copy_from_user(&user_sseu, u64_to_user_ptr(args->value), in set_proto_ctx_sseu()
831 sizeof(user_sseu))) in set_proto_ctx_sseu()
834 if (user_sseu.rsvd) in set_proto_ctx_sseu()
837 if (user_sseu.flags & ~(I915_CONTEXT_SSEU_FLAG_ENGINE_INDEX)) in set_proto_ctx_sseu()
840 if (!!(user_sseu.flags & I915_CONTEXT_SSEU_FLAG_ENGINE_INDEX) != (pc->num_user_engines >= 0)) in set_proto_ctx_sseu()
844 int idx = user_sseu.engine.engine_instance; in set_proto_ctx_sseu()
860 if (user_sseu.engine.engine_class != I915_ENGINE_CLASS_RENDER) in set_proto_ctx_sseu()
864 if (user_sseu.engine.engine_instance != 0) in set_proto_ctx_sseu()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_perf.c3968 struct drm_i915_gem_context_param_sseu user_sseu; in read_properties_unlocked() local
4098 if (copy_from_user(&user_sseu, in read_properties_unlocked()
4100 sizeof(user_sseu))) { in read_properties_unlocked()
4178 ret = get_sseu_config(&props->sseu, props->engine, &user_sseu); in read_properties_unlocked()