read_properties_unlocked(9)
โจ NAME โจ
okay bestie, welcome to read_properties_unlocked(9) from the Kernel API Manual ๐ โ this is the page for validate + copy userspace stream open properties. Itโs giving โcheck every property on its ownโ energy, and honestly? Iconic. ๐
๐ฆ SYNOPSIS ๐ฆ
int read_properties_unlocked (struct i915_perf *perf , u64 __user
*uprops , u32 n_props , struct perf_open_properties *props );
๐ ARGUMENTS ๐
perfโ thei915perf instance, obviously ๐upropsโ the array ofu64key value pairs that userspace handed over โจn_propsโ the number of key value pairs we expect inuprops๐ขpropsโ the stream configuration that gets built up while the properties are being validated ๐ ๏ธ
๐ธ DESCRIPTION ๐ธ
okay so listen: this function only validates properties in isolation. It does not validate that the combination of properties makes sense, and it does not validate that all properties necessary for a particular kind of stream have been set. Thatโs the assignment. ๐
real talk, bestie: isolated checks only โ no group-project validation here ๐ญ
Also, there currently arenโt any ordering requirements for properties, so we shouldnโt validate or assume anything about ordering here. This doesnโt rule out defining new properties with ordering requirements in the future, though. Future icon behavior stays future icon behavior. ๐ฎ
๐ SEE ALSO ๐
The kernel file is ./drivers/gpu/drm/i915/i915_perf.c โ and hereโs the whole SEE ALSO squad, no cap:
i915 Perf Overview(9)i915 Perf History and Comparison with Core Perf(9)OA Tail Pointer Race(9)struct perf_open_properties(9)oa_buffer_check_unlocked(9)append_oa_status(9)append_oa_sample(9)gen8_append_oa_reports(9)gen8_oa_read(9)gen7_append_oa_reports(9)gen7_oa_read(9)i915_oa_wait_unlocked(9)i915_oa_poll_wait(9)i915_oa_read(9)oa_get_render_ctx_id(9)oa_put_render_ctx_id(9)i915_oa_stream_enable(9)i915_oa_stream_disable(9)i915_oa_stream_init(9)i915_perf_read(9)i915_perf_poll_locked(9)i915_perf_poll(9)i915_perf_enable_locked(9)i915_perf_disable_locked(9)i915_perf_ioctl_locked(9)i915_perf_ioctl(9)i915_perf_destroy_locked(9)i915_perf_release(9)i915_perf_open_ioctl_locked(9)i915_perf_open_ioctl(9)i915_perf_register(9)i915_perf_unregister(9)i915_perf_add_config_ioctl(9)i915_perf_remove_config_ioctl(9)i915_perf_init(9)i915_perf_fini(9)i915_perf_ioctl_version(9)
made with ๐ from ./drivers/gpu/drm/i915, October 2026 โ catch u later, bestie! ๐ซถโจ
๐ฆ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms