“30ca60d73a2ff94301d12690140142380bbc2c1c”上不存在“src/operators/kernel/fpga/V2/fusion_fc_kernel.cpp”
提交 d54fdb94 编写于 作者: C Christian König 提交者: Alex Deucher

drm/amdgpu: cleanup a scheduler function name

Signed-off-by: NChristian König <christian.koenig@amd.com>
Reviewed-by: NChunming Zhou <david1.zhou@amd.com>
上级 e688b728
...@@ -143,8 +143,8 @@ int amd_sched_entity_init(struct amd_gpu_scheduler *sched, ...@@ -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, static bool amd_sched_entity_is_initialized(struct amd_gpu_scheduler *sched,
struct amd_sched_entity *entity) 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, ...@@ -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;
/** /**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册