Commit 16973985 authored by Ray Wu's avatar Ray Wu Committed by Alex Deucher
Browse files

drm/amd/display: Remove duplicated code



[Why&How]
Remove duplicated code

Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarTom Chung <chiahsuan.chung@amd.com>
Signed-off-by: default avatarRay Wu <ray.wu@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 219be471
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1900,9 +1900,6 @@ static bool dcn35_resource_construct(
	dc->caps.num_of_host_routers = 2;
	dc->caps.num_of_dpias_per_host_router = 2;

	dc->caps.num_of_host_routers = 2;
	dc->caps.num_of_dpias_per_host_router = 2;

	/* max_disp_clock_khz_at_vmin is slightly lower than the STA value in order
	 * to provide some margin.
	 * It's expected for furture ASIC to have equal or higher value, in order to
+0 −3
Original line number Diff line number Diff line
@@ -1872,9 +1872,6 @@ static bool dcn351_resource_construct(
	dc->caps.num_of_host_routers = 2;
	dc->caps.num_of_dpias_per_host_router = 2;

	dc->caps.num_of_host_routers = 2;
	dc->caps.num_of_dpias_per_host_router = 2;

	/* max_disp_clock_khz_at_vmin is slightly lower than the STA value in order
	 * to provide some margin.
	 * It's expected for furture ASIC to have equal or higher value, in order to
+0 −3
Original line number Diff line number Diff line
@@ -1873,9 +1873,6 @@ static bool dcn36_resource_construct(
	dc->caps.num_of_host_routers = 2;
	dc->caps.num_of_dpias_per_host_router = 2;

	dc->caps.num_of_host_routers = 2;
	dc->caps.num_of_dpias_per_host_router = 2;

	/* max_disp_clock_khz_at_vmin is slightly lower than the STA value in order
	 * to provide some margin.
	 * It's expected for furture ASIC to have equal or higher value, in order to