diff options
author | Kevin Wang <kevin1.wang@amd.com> | 2019-08-13 04:48:28 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-08-15 11:51:37 -0400 |
commit | b81e57fbf92e76ce8b7329650440021ebb4e00a0 (patch) | |
tree | 8da515c1ea385add86b534ffa6c5751e5b2c5b3a | |
parent | 60adad6ffdaf69b96bb7eedd4c8b6de79143dd0a (diff) |
drm/amdgpu: fix typo error amdgput -> amdgpu
fix typo error:
change function name from "amdgput_ctx_total_num_entities" to
"amdgpu_ctx_total_num_entities".
Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c index ec311de86fba..34ab14ea05da 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |||
@@ -42,7 +42,7 @@ const unsigned int amdgpu_ctx_num_entities[AMDGPU_HW_IP_NUM] = { | |||
42 | [AMDGPU_HW_IP_VCN_JPEG] = 1, | 42 | [AMDGPU_HW_IP_VCN_JPEG] = 1, |
43 | }; | 43 | }; |
44 | 44 | ||
45 | static int amdgput_ctx_total_num_entities(void) | 45 | static int amdgpu_ctx_total_num_entities(void) |
46 | { | 46 | { |
47 | unsigned i, num_entities = 0; | 47 | unsigned i, num_entities = 0; |
48 | 48 | ||
@@ -73,7 +73,7 @@ static int amdgpu_ctx_init(struct amdgpu_device *adev, | |||
73 | struct drm_file *filp, | 73 | struct drm_file *filp, |
74 | struct amdgpu_ctx *ctx) | 74 | struct amdgpu_ctx *ctx) |
75 | { | 75 | { |
76 | unsigned num_entities = amdgput_ctx_total_num_entities(); | 76 | unsigned num_entities = amdgpu_ctx_total_num_entities(); |
77 | unsigned i, j, k; | 77 | unsigned i, j, k; |
78 | int r; | 78 | int r; |
79 | 79 | ||
@@ -207,7 +207,7 @@ error_free_fences: | |||
207 | static void amdgpu_ctx_fini(struct kref *ref) | 207 | static void amdgpu_ctx_fini(struct kref *ref) |
208 | { | 208 | { |
209 | struct amdgpu_ctx *ctx = container_of(ref, struct amdgpu_ctx, refcount); | 209 | struct amdgpu_ctx *ctx = container_of(ref, struct amdgpu_ctx, refcount); |
210 | unsigned num_entities = amdgput_ctx_total_num_entities(); | 210 | unsigned num_entities = amdgpu_ctx_total_num_entities(); |
211 | struct amdgpu_device *adev = ctx->adev; | 211 | struct amdgpu_device *adev = ctx->adev; |
212 | unsigned i, j; | 212 | unsigned i, j; |
213 | 213 | ||
@@ -524,7 +524,7 @@ struct dma_fence *amdgpu_ctx_get_fence(struct amdgpu_ctx *ctx, | |||
524 | void amdgpu_ctx_priority_override(struct amdgpu_ctx *ctx, | 524 | void amdgpu_ctx_priority_override(struct amdgpu_ctx *ctx, |
525 | enum drm_sched_priority priority) | 525 | enum drm_sched_priority priority) |
526 | { | 526 | { |
527 | unsigned num_entities = amdgput_ctx_total_num_entities(); | 527 | unsigned num_entities = amdgpu_ctx_total_num_entities(); |
528 | enum drm_sched_priority ctx_prio; | 528 | enum drm_sched_priority ctx_prio; |
529 | unsigned i; | 529 | unsigned i; |
530 | 530 | ||
@@ -569,7 +569,7 @@ void amdgpu_ctx_mgr_init(struct amdgpu_ctx_mgr *mgr) | |||
569 | 569 | ||
570 | long amdgpu_ctx_mgr_entity_flush(struct amdgpu_ctx_mgr *mgr, long timeout) | 570 | long amdgpu_ctx_mgr_entity_flush(struct amdgpu_ctx_mgr *mgr, long timeout) |
571 | { | 571 | { |
572 | unsigned num_entities = amdgput_ctx_total_num_entities(); | 572 | unsigned num_entities = amdgpu_ctx_total_num_entities(); |
573 | struct amdgpu_ctx *ctx; | 573 | struct amdgpu_ctx *ctx; |
574 | struct idr *idp; | 574 | struct idr *idp; |
575 | uint32_t id, i; | 575 | uint32_t id, i; |
@@ -591,7 +591,7 @@ long amdgpu_ctx_mgr_entity_flush(struct amdgpu_ctx_mgr *mgr, long timeout) | |||
591 | 591 | ||
592 | void amdgpu_ctx_mgr_entity_fini(struct amdgpu_ctx_mgr *mgr) | 592 | void amdgpu_ctx_mgr_entity_fini(struct amdgpu_ctx_mgr *mgr) |
593 | { | 593 | { |
594 | unsigned num_entities = amdgput_ctx_total_num_entities(); | 594 | unsigned num_entities = amdgpu_ctx_total_num_entities(); |
595 | struct amdgpu_ctx *ctx; | 595 | struct amdgpu_ctx *ctx; |
596 | struct idr *idp; | 596 | struct idr *idp; |
597 | uint32_t id, i; | 597 | uint32_t id, i; |