[PATCH 09/10] drm/amd/display: Add Polaris12 to bw_calc

Harry Wentland harry.wentland at amd.com
Wed Jan 11 18:11:24 UTC 2017


From: Joshua Aberback <Joshua.Aberback at amd.com>

Change-Id: I77c287c6d6fe2e46f232e707383347f11ade91c0
Signed-off-by: Joshua Aberback <Joshua.Aberback at amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
 drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c b/drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c
index aa187736b534..54388c0e29e0 100644
--- a/drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c
+++ b/drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c
@@ -44,9 +44,9 @@ static enum bw_calcs_version bw_calcs_version_from_asic_id(struct hw_asic_id asi
 
 	case FAMILY_VI:
 		if (ASIC_REV_IS_POLARIS10_P(asic_id.hw_internal_rev))
-			// || ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev)
 			return BW_CALCS_VERSION_POLARIS10;
-		if (ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev))
+		if (ASIC_REV_IS_POLARIS11_M(asic_id.hw_internal_rev) ||
+				ASIC_REV_IS_POLARIS12_V(asic_id.hw_internal_rev))
 			return BW_CALCS_VERSION_POLARIS11;
 		return BW_CALCS_VERSION_INVALID;
 
-- 
2.9.3



More information about the amd-gfx mailing list