]> www.infradead.org Git - users/willy/xarray.git/commitdiff
drm/amd/display: Fix typo for helpers function name
authorLeo (Hanghong) Ma <hanghong.ma@amd.com>
Wed, 3 Mar 2021 19:12:52 +0000 (14:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 Mar 2021 03:32:46 +0000 (23:32 -0400)
[why]
Word "helper" was misspelled as "helpes" in
dm_helpes_dmub_outbox0_interrupt_control function.

[how]
Fix the spelling.

Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Leo (Hanghong) Ma <hanghong.ma@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Solomon Chiu <solomon.chiu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c
drivers/gpu/drm/amd/display/dc/dc_dmub_srv.c
drivers/gpu/drm/amd/display/dc/dm_helpers.h

index b0e49d01c206670c2373dc4ccb1e87812e8b5727..09bdffb3a09e93c9b230cb58f38e5b198a715923 100644 (file)
@@ -698,7 +698,7 @@ void dm_helpers_free_gpu_mem(
        }
 }
 
-bool dm_helpes_dmub_outbox0_interrupt_control(struct dc_context *ctx, bool enable)
+bool dm_helpers_dmub_outbox0_interrupt_control(struct dc_context *ctx, bool enable)
 {
        // TODO
        return true;
index 68453c29c617336a7e0d1a58f54d451b5269c417..6b72af2b3f4c34cb62bc666784fd03b51c14223f 100644 (file)
@@ -180,5 +180,5 @@ bool dc_dmub_srv_get_dmub_outbox0_msg(const struct dc *dc, struct dmcub_trace_bu
 
 void dc_dmub_trace_event_control(struct dc *dc, bool enable)
 {
-       dm_helpes_dmub_outbox0_interrupt_control(dc->ctx, enable);
+       dm_helpers_dmub_outbox0_interrupt_control(dc->ctx, enable);
 }
index 65704f46c79b9833f9c9a481a592b334834568c8..f41db27c44de5e05666e4b89ab642ca2e8773e6f 100644 (file)
@@ -156,6 +156,6 @@ void dm_set_dcn_clocks(
                struct dc_context *ctx,
                struct dc_clocks *clks);
 
-bool dm_helpes_dmub_outbox0_interrupt_control(struct dc_context *ctx, bool enable);
+bool dm_helpers_dmub_outbox0_interrupt_control(struct dc_context *ctx, bool enable);
 
 #endif /* __DM_HELPERS__ */