[37/39] drm/amd/dal: fix warning in calculate_bandwidth

Submitted by Harry Wentland on Nov. 24, 2016, 2:03 a.m.

Details

Message ID 20161124020308.28124-38-harry.wentland@amd.com
State New
Headers show
Series "dal patches for nov 23, 2016" ( rev: 1 ) in AMD X.Org drivers

Commit Message

Harry Wentland Nov. 24, 2016, 2:03 a.m.
From: Alex Deucher <alexander.deucher@amd.com>

Change-Id: Ia7adbf8ef53244b4d87dc4e88f9165a1574c262e
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
---
 drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c | 2 --
 1 file changed, 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c b/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c
index 0dbe47db3740..0b2bb3992f1a 100644
--- a/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c
+++ b/drivers/gpu/drm/amd/dal/dc/calcs/bandwidth_calcs.c
@@ -39,7 +39,6 @@  static void calculate_bandwidth(
 
 {
 	const int32_t pixels_per_chunk = 512;
-	const int32_t max_chunks_non_fbc_mode = 16;
 	const int32_t high = 2;
 	const int32_t mid = 1;
 	const int32_t low = 0;
@@ -51,7 +50,6 @@  static void calculate_bandwidth(
 	const uint32_t s_mid5 = 5;
 	const uint32_t s_mid6 = 6;
 	const uint32_t s_high = 7;
-	const uint32_t vertical_front_porch = 450; /*us*/
 	const uint32_t bus_efficiency = 1;
 	const uint32_t dmif_chunk_buff_margin = 1;