From: Samson Tam <[email protected]>

[WHY/HOW]
Rename function and updated comments to remove internal references.

Reviewed-by: Dmytro Laktyushkin <[email protected]>
Signed-off-by: Samson Tam <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
---
 drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c | 6 +++---
 drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.h | 2 +-
 drivers/gpu/drm/amd/display/dc/hubp/dcn30/dcn30_hubp.c | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c 
b/drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c
index 67828505939a..0dba8ff8a19d 100644
--- a/drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c
+++ b/drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.c
@@ -74,7 +74,7 @@
  * then update the regs with the new values.
  *
  */
-void apply_DEDCN21_142_wa_for_hostvm_deadline(
+void apply_hubp21_wa_for_hostvm_deadline(
                struct hubp *hubp,
                struct _vcs_dpi_display_dlg_regs_st *dlg_attr)
 {
@@ -131,7 +131,7 @@ void hubp21_program_deadline(
 {
        hubp2_program_deadline(hubp, dlg_attr, ttu_attr);
 
-       apply_DEDCN21_142_wa_for_hostvm_deadline(hubp, dlg_attr);
+       apply_hubp21_wa_for_hostvm_deadline(hubp, dlg_attr);
 }
 
 void hubp21_program_requestor(
@@ -803,7 +803,7 @@ static bool hubp21_program_surface_flip_and_addr(
 
 static void hubp21_init(struct hubp *hubp)
 {
-       // DEDCN21-133: Inconsistent row starting line for flip between DPTE 
and Meta
+       // Inconsistent row starting line for flip between DPTE and Meta
        // This is a chicken bit to enable the ECO fix.
 
        struct dcn21_hubp *hubp21 = TO_DCN21_HUBP(hubp);
diff --git a/drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.h 
b/drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.h
index 9873b6cbc5ba..418a981b8c9b 100644
--- a/drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.h
+++ b/drivers/gpu/drm/amd/display/dc/hubp/dcn21/dcn21_hubp.h
@@ -119,7 +119,7 @@ bool hubp21_construct(
        const struct dcn_hubp2_shift *hubp_shift,
        const struct dcn_hubp2_mask *hubp_mask);
 
-void apply_DEDCN21_142_wa_for_hostvm_deadline(
+void apply_hubp21_wa_for_hostvm_deadline(
                struct hubp *hubp,
                struct _vcs_dpi_display_dlg_regs_st *dlg_attr);
 
diff --git a/drivers/gpu/drm/amd/display/dc/hubp/dcn30/dcn30_hubp.c 
b/drivers/gpu/drm/amd/display/dc/hubp/dcn30/dcn30_hubp.c
index 3e5ae0eae39f..4f5f10f6d1cc 100644
--- a/drivers/gpu/drm/amd/display/dc/hubp/dcn30/dcn30_hubp.c
+++ b/drivers/gpu/drm/amd/display/dc/hubp/dcn30/dcn30_hubp.c
@@ -615,7 +615,7 @@ void hubp3_setup(
 
 void hubp3_init(struct hubp *hubp)
 {
-       // DEDCN21-133: Inconsistent row starting line for flip between DPTE 
and Meta
+       // Inconsistent row starting line for flip between DPTE and Meta
        // This is a chicken bit to enable the ECO fix.
 
        struct dcn20_hubp *hubp2 = TO_DCN20_HUBP(hubp);
-- 
2.43.0

Reply via email to