diff options
author | Joshua Aberback <Joshua.Aberback@amd.com> | 2017-01-10 14:05:49 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 17:09:33 -0400 |
commit | 02dfc70737ae4eafee202d23d29c16213ee750fb (patch) | |
tree | 68f2cf2097b0beac7586bf17b43d5518a200a45d | |
parent | 0ea9e02af5572323f79b493ec8d6bfa55effb2f7 (diff) | |
download | linux-stable-02dfc70737ae4eafee202d23d29c16213ee750fb.tar.gz linux-stable-02dfc70737ae4eafee202d23d29c16213ee750fb.tar.bz2 linux-stable-02dfc70737ae4eafee202d23d29c16213ee750fb.zip |
drm/amd/display: Add Polaris12 to bw_calc
Signed-off-by: Joshua Aberback <Joshua.Aberback@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c | 4 |
1 files 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; |