drm/amdgpu/display: drop ifdefs around comments
Subsystems (3)
PATCH 1/1 drm/amdgpu/display: drop ifdefs around comments
No need to protect the comments. The DCN1_01 config was dopped anyway. Got accidently brought back with the navi merge.
Signed-off-by Alex Deucher <[email protected]>
--- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c +0 -6
@@ -145,7 +145,6 @@ bool hubbub1_verify_allow_pstate_change_high( forced_pstate_allow = false; } -#ifdef CONFIG_DRM_AMD_DC_DCN1_01 /* RV2: * dchubbubdebugind, at: 0xB * description
@@ -182,8 +181,6 @@ bool hubbub1_verify_allow_pstate_change_high(* 30: Arbiter's allow_pstate_change * 31: SOC pstate change request" */ -#else -#ifdef CONFIG_DRM_AMD_DC_DCN2_0 /*DCN2.x: HUBBUB:DCHUBBUB_TEST_ARB_DEBUG10 DCHUBBUBDEBUGIND:0xB 0: Pipe0 Plane0 Allow P-state Change
@@ -219,7 +216,6 @@ bool hubbub1_verify_allow_pstate_change_high(30: Arbiter`s Allow P-state Change 31: SOC P-state Change request */ -#else /* RV1: * dchubbubdebugind, at: 0x7 * description "3-0: Pipe0 cursor0 QOS
@@ -243,8 +239,6 @@ bool hubbub1_verify_allow_pstate_change_high(* 30: Arbiter's allow_pstate_change * 31: SOC pstate change request */ -#endif -#endif REG_WRITE (DCHUBBUB_TEST_DEBUG_INDEX , hubbub1->debug_test_index_pstate);
Signature · 6 lines
2.20.1 _______________________________________________ amd-gfx mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/amd-gfx
A message that is not in the archive (sent off-list or not yet received): 20190624151657.22959-1-alexander.deucher-5C7GfCeVMHo@public.gmane.org
Kazlauskas, Nicholas
Reviewed-by Nicholas KazlauskasQuoted 5 lines · Alex Deucher
No need to protect the comments. The
DCN1_01config was dopped anyway. Got accidently brought back with the navi merge.Signed-off-by Alex Deucher <[email protected]>
Reviewed-by Nicholas Kazlauskas <[email protected]>
Quoted 35 lines
--- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c | 6 ------ 1 file changed, 6 deletions(-)drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c +0
-4@@ -145,7 +145,6 @@ bool hubbub1_verify_allow_pstate_change_high( forced_pstate_allow = false; } -#ifdef CONFIG_DRM_AMD_DC_DCN1_01 /* RV2: * dchubbubdebugind, at: 0xB * description @@ -182,8 +181,6 @@ bool hubbub1_verify_allow_pstate_change_high(* 30: Arbiter's allow_pstate_change * 31: SOC pstate change request" */ -#else -#ifdef CONFIG_DRM_AMD_DC_DCN2_0 /*DCN2.x: HUBBUB:DCHUBBUB_TEST_ARB_DEBUG10 DCHUBBUBDEBUGIND:0xB 0: Pipe0 Plane0 Allow P-state Change @@ -219,7 +216,6 @@ bool hubbub1_verify_allow_pstate_change_high(30: Arbiter`s Allow P-state Change 31: SOC P-state Change request */ -#else /* RV1: * dchubbubdebugind, at: 0x7 * description "3-0: Pipe0 cursor0 QOS
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c bool hubbub1_verify_allow_pstate_change_high( · line 244
Quoted 8 lines
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hubbub.c +0
-2@@ -243,8 +239,6 @@ bool hubbub1_verify_allow_pstate_change_high(* 30: Arbiter's allow_pstate_change * 31: SOC pstate change request */ -#endif -#endif REG_WRITE (DCHUBBUB_TEST_DEBUG_INDEX , hubbub1->debug_test_index_pstate);
_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx