[PATCH 15/15] drm/amd/display: fix dce100_validate_bandwidth return value

Harry Wentland harry.wentland at amd.com
Wed Mar 1 00:26:20 UTC 2017


From: Dmytro Laktyushkin <Dmytro.Laktyushkin at amd.com>

Change-Id: I5dee433d86018bd921f5c2c2a986ff9642f1139c
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin at amd.com>
---
 drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
index fc85efafb104..c72858a1452f 100644
--- a/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
@@ -772,7 +772,7 @@ bool dce100_validate_bandwidth(
 	/* TODO implement when needed but for now hardcode max value*/
 	context->dispclk_khz = 681000;
 
-	return false;
+	return true;
 }
 
 static bool dce100_validate_surface_sets(
-- 
2.9.3



More information about the amd-gfx mailing list