pvr_queue_up...state_locked(9)
π pvr_queue_update_active_state_locked β the locked girlie of the family β¨
okay so this is a page from the Kernel API Manual, section 9, and the star of the show is pvr_queue_update_active_state_locked(9). yes the header is long, no we're not shortening it, it's iconic π
β¨ NAME β¨
pvr_queue_update_active_state_locked β Update the queue active state. that's it. that's the whole job. she updates. she's locked. periodt π
πΈ SYNOPSIS πΈ
void pvr_queue_update_active_state_locked (struct pvr_queue *queue );
literally one argument, one return type of void, zero drama. well. mostly. π¦
π ARGUMENTS π
queueβ Queue to update the state on. that's the one, bestie. that's the queue getting the state glow-up π
π§ DESCRIPTION π§
so this is the locked version of pvr_queue_update_active_state. same energy, but you gotta hold the lock first β and not just any lock, specifically pvr_device::queue::lock. Must be called with pvr_device::queue::lock held. no cap, that's a hard requirement, not a suggestion π
lowkey important: if you're not holdingpvr_device::queue::lockwhen you call this, you're doing it wrong. the whole point of the_lockedsuffix is that you brought the lock. don't make her do it. π
π SEE ALSO π
- Kernel file
./drivers/gpu/drm/imagination/pvr_queue.c pvr_queue_fence_is_ufo_backed(9)to_pvr_queue_job_fence(9)pvr_queue_fence_put(9)pvr_queue_fence_alloc(9)pvr_queue_fence_init(9)pvr_queue_cccb_fence_init(9)pvr_queue_job_fence_init(9)pvr_queue_fence_ctx_init(9)job_count_remaining_native_deps(9)pvr_queue_get_job_cccb_fence(9)pvr_queue_get_job_kccb_fence(9)pvr_queue_prepare_job(9)pvr_queue_update_active_state(9)pvr_queue_run_job(9)pvr_queue_timedout_job(9)pvr_queue_free_job(9)pvr_queue_fence_is_native(9)pvr_queue_signal_done_fences(9)pvr_queue_check_job_waiting_for_cccb_space(9)pvr_queue_process(9)init_fw_context(9)pvr_queue_cleanup_fw_context(9)pvr_queue_job_init(9)pvr_queue_job_arm(9)pvr_queue_job_cleanup(9)pvr_queue_job_push(9)pvr_queue_create(9)pvr_queue_kill(9)pvr_queue_destroy(9)pvr_queue_device_init(9)pvr_queue_device_fini(9)
like, the whole friend group showed up to the group chat. we love a supportive cast ππ«Ά
and that's the page, bestie β¨ sourced straight from ./drivers/gpu/drm/imagination, dated October 2026 β mwah, go hold that lock ππ
π¦ 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