Browse Source

drm/amdgpu: cleanup a scheduler function name

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Christian König 10 years ago
parent
commit
d54fdb94b2
1 changed files with 3 additions and 3 deletions
  1. 3 3
      drivers/gpu/drm/amd/scheduler/gpu_scheduler.c

+ 3 - 3
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c

@@ -143,8 +143,8 @@ int amd_sched_entity_init(struct amd_gpu_scheduler *sched,
  *
  *
  * return true if entity is initialized, false otherwise
  * return true if entity is initialized, false otherwise
 */
 */
-static bool is_context_entity_initialized(struct amd_gpu_scheduler *sched,
-					  struct amd_sched_entity *entity)
+static bool amd_sched_entity_is_initialized(struct amd_gpu_scheduler *sched,
+					    struct amd_sched_entity *entity)
 {
 {
 	return entity->scheduler == sched &&
 	return entity->scheduler == sched &&
 		entity->belongto_rq != NULL;
 		entity->belongto_rq != NULL;
@@ -180,7 +180,7 @@ int amd_sched_entity_fini(struct amd_gpu_scheduler *sched,
 	struct amd_sched_rq *rq = entity->belongto_rq;
 	struct amd_sched_rq *rq = entity->belongto_rq;
 	long r;
 	long r;
 
 
-	if (!is_context_entity_initialized(sched, entity))
+	if (!amd_sched_entity_is_initialized(sched, entity))
 		return 0;
 		return 0;
 	entity->need_wakeup = true;
 	entity->need_wakeup = true;
 	/**
 	/**