Top |
unsigned | gem_scheduler_capability () |
bool | gem_scheduler_enabled () |
bool | gem_scheduler_has_ctx_priority () |
bool | gem_scheduler_has_preemption () |
bool | gem_scheduler_has_semaphores () |
void | gem_scheduler_print_capability () |
This helper library contains functions used for getting information on currently used scheduling model.
bool
gem_scheduler_enabled (int fd
);
Feature test macro to query whether the driver has scheduling capability.
bool
gem_scheduler_has_ctx_priority (int fd
);
Feature test macro to query whether the driver supports assigning custom priorities to contexts from userspace.
bool
gem_scheduler_has_preemption (int fd
);
Feature test macro to query whether the driver supports preempting active (currently executing on HW) workloads.
bool
gem_scheduler_has_semaphores (int fd
);
Feature test macro to query whether the driver supports using HW semaphores to schedule dependencies in parallel (using the HW to delay execution until ready to reduce latency).