gpu_scheduler.h (ebd5f74255b9f5f8a154ba5535f83387ae599d46) gpu_scheduler.h (0e10e9a1db230ae98c8ccfeaf0734545421c3995)
1/*
2 * Copyright 2015 Advanced Micro Devices, Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the

--- 395 unchanged lines hidden (view full) ---

404 struct drm_gpu_scheduler **sched_list,
405 unsigned int num_sched_list,
406 atomic_t *guilty);
407long drm_sched_entity_flush(struct drm_sched_entity *entity, long timeout);
408void drm_sched_entity_fini(struct drm_sched_entity *entity);
409void drm_sched_entity_destroy(struct drm_sched_entity *entity);
410void drm_sched_entity_select_rq(struct drm_sched_entity *entity);
411struct drm_sched_job *drm_sched_entity_pop_job(struct drm_sched_entity *entity);
1/*
2 * Copyright 2015 Advanced Micro Devices, Inc.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the

--- 395 unchanged lines hidden (view full) ---

404 struct drm_gpu_scheduler **sched_list,
405 unsigned int num_sched_list,
406 atomic_t *guilty);
407long drm_sched_entity_flush(struct drm_sched_entity *entity, long timeout);
408void drm_sched_entity_fini(struct drm_sched_entity *entity);
409void drm_sched_entity_destroy(struct drm_sched_entity *entity);
410void drm_sched_entity_select_rq(struct drm_sched_entity *entity);
411struct drm_sched_job *drm_sched_entity_pop_job(struct drm_sched_entity *entity);
412void drm_sched_entity_push_job(struct drm_sched_job *sched_job,
413 struct drm_sched_entity *entity);
412void drm_sched_entity_push_job(struct drm_sched_job *sched_job);
414void drm_sched_entity_set_priority(struct drm_sched_entity *entity,
415 enum drm_sched_priority priority);
416bool drm_sched_entity_is_ready(struct drm_sched_entity *entity);
417
418struct drm_sched_fence *drm_sched_fence_alloc(
419 struct drm_sched_entity *s_entity, void *owner);
420void drm_sched_fence_init(struct drm_sched_fence *fence,
421 struct drm_sched_entity *entity);

--- 13 unchanged lines hidden ---
413void drm_sched_entity_set_priority(struct drm_sched_entity *entity,
414 enum drm_sched_priority priority);
415bool drm_sched_entity_is_ready(struct drm_sched_entity *entity);
416
417struct drm_sched_fence *drm_sched_fence_alloc(
418 struct drm_sched_entity *s_entity, void *owner);
419void drm_sched_fence_init(struct drm_sched_fence *fence,
420 struct drm_sched_entity *entity);

--- 13 unchanged lines hidden ---