summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/scheduler
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2015-08-20 18:03:48 +0300
committerAlex Deucher <alexander.deucher@amd.com>2015-08-25 17:44:57 +0300
commitd54fdb94b2fd4c989d498f69e8bbf4189fde42ef (patch)
treea7484d25b473a58edb1eca668b235ad906e59b0e /drivers/gpu/drm/amd/scheduler
parente688b728228b951f41175e3a7c0738708d045969 (diff)
downloadlinux-d54fdb94b2fd4c989d498f69e8bbf4189fde42ef.tar.xz
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>
Diffstat (limited to 'drivers/gpu/drm/amd/scheduler')
-rw-r--r--drivers/gpu/drm/amd/scheduler/gpu_scheduler.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c b/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
index 5fb189ca7fbe..37badd6292cb 100644
--- a/drivers/gpu/drm/amd/scheduler/gpu_scheduler.c
+++ b/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
*/
-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;
/**