Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d54fdb94 authored by Christian König's avatar Christian König Committed by Alex Deucher
Browse files

drm/amdgpu: cleanup a scheduler function name

parent e688b728
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -143,7 +143,7 @@ int amd_sched_entity_init(struct amd_gpu_scheduler *sched,
 *
 * return true if entity is initialized, false otherwise
*/
static bool is_context_entity_initialized(struct amd_gpu_scheduler *sched,
static bool amd_sched_entity_is_initialized(struct amd_gpu_scheduler *sched,
					    struct amd_sched_entity *entity)
{
	return entity->scheduler == sched &&
@@ -180,7 +180,7 @@ int amd_sched_entity_fini(struct amd_gpu_scheduler *sched,
	struct amd_sched_rq *rq = entity->belongto_rq;
	long r;

	if (!is_context_entity_initialized(sched, entity))
	if (!amd_sched_entity_is_initialized(sched, entity))
		return 0;
	entity->need_wakeup = true;
	/**