drm/amd/display: Support 64-bit Polaris11 5k VSR
authorJoshua Aberback <Joshua.Aberback@amd.com>
Mon, 9 Jan 2017 21:26:58 +0000 (16:26 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:09:20 +0000 (17:09 -0400)
commit00c91d0d480a0c5f6507da80f7e13dab7e6b7c79
treee521877a3ad97eda223f9bbb4e8752a91b752e47
parent2796eaee69ce139aa5ae8047bf3071650893ce1d
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>
drivers/gpu/drm/amd/display/dc/calcs/bandwidth_calcs.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
drivers/gpu/drm/amd/display/dc/inc/bandwidth_calcs.h