diff options
author | Joshua Aberback | 2017-01-09 22:26:58 +0100 |
---|---|---|
committer | Alex Deucher | 2017-09-26 23:09:20 +0200 |
commit | 00c91d0d480a0c5f6507da80f7e13dab7e6b7c79 (patch) | |
tree | e521877a3ad97eda223f9bbb4e8752a91b752e47 /drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c | |
parent | drm/amd/display: When signal type of sink is none, use link type for stream (diff) | |
download | kernel-qcow2-linux-00c91d0d480a0c5f6507da80f7e13dab7e6b7c79.tar.gz kernel-qcow2-linux-00c91d0d480a0c5f6507da80f7e13dab7e6b7c79.tar.xz kernel-qcow2-linux-00c91d0d480a0c5f6507da80f7e13dab7e6b7c79.zip |
drm/amd/display: Support 64-bit Polaris11 5k VSR
- pass full asic_id info into bw_calc_init instead of only version enum
- 64-bit Polaris11 needs an extra microsecond of dmif_urgent_latency
- add helper to convert from asic_id.family to bw_calc version enum
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c index ae90da8c1b8c..968ee99003fc 100644 --- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c +++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c @@ -1349,10 +1349,7 @@ static bool construct( if (!dce110_hw_sequencer_construct(dc)) goto res_create_fail; - if (ASIC_REV_IS_STONEY(ctx->asic_id.hw_internal_rev)) - bw_calcs_init(&dc->bw_dceip, &dc->bw_vbios, BW_CALCS_VERSION_STONEY); - else - bw_calcs_init(&dc->bw_dceip, &dc->bw_vbios, BW_CALCS_VERSION_CARRIZO); + bw_calcs_init(&dc->bw_dceip, &dc->bw_vbios, dc->ctx->asic_id); bw_calcs_data_update_from_pplib(dc); |