]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
drm/amdgpu: cleanup a scheduler function name
authorChristian König <christian.koenig@amd.com>
Thu, 20 Aug 2015 15:03:48 +0000 (17:03 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 25 Aug 2015 14:44:57 +0000 (10:44 -0400)
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c

index 5fb189ca7fbe603ca628f3afc424a8cfb44a4c76..37badd6292cb14c6ca0e06cddc287751515f304f 100644 (file)
@@ -143,8 +143,8 @@ 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,
-                                         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 &&
                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;
        long r;
 
-       if (!is_context_entity_initialized(sched, entity))
+       if (!amd_sched_entity_is_initialized(sched, entity))
                return 0;
        entity->need_wakeup = true;
        /**