Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control: Add Device::crtc_get/queue_sequence() IOCTLs and event #200

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Commits on Aug 13, 2024

  1. control: Add Device::crtc_get/queue_sequence() IOCTLs and event

    These two IOCTLs are for querying the most recent sequence number (and
    its "first pixel out" timestamp) as well as scheduling (queueing) an
    event when a future sequence number (absolute or relative) is hit,
    equally containing the "first pixel out" timestamp for that sequence.
    
    As with `wait_vblank()`, `crtc_queue_sequence()` also returns the
    absolute sequence number that the event ended up latching on.  This
    is useful when specifying a relative index as well as when the driver
    `max()`es an absolute target to the most recently triggered sequence.
    This request will still result in an event even when that sequence
    number has already been hit, but doesn't allow you to queue older
    frames.
    MarijnS95 committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    da4d026 View commit details
    Browse the repository at this point in the history