summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/dc/dce112
diff options
context:
space:
mode:
authorJordan Lazare <Jordan.Lazare@amd.com>2016-12-14 15:35:13 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 17:05:16 -0400
commitb264d3455d9c8ce0bea422a04a867f0a724c7770 (patch)
tree150cd61f7f784aecf370bdaf2d9a06549f1aa135 /drivers/gpu/drm/amd/display/dc/dce112
parentac58fff1551672c925b0ec2879c4653a69771ee2 (diff)
downloadlinux-b264d3455d9c8ce0bea422a04a867f0a724c7770.tar.bz2
drm/amd/dal: Add POLARIS12 support (v2)
v2: agd: squash in dm fix, rebase Signed-off-by: Jordan Lazare <Jordan.Lazare@amd.com> Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce112')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
index 3a478300b848..85d8b31acd02 100644
--- a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
@@ -1233,7 +1233,8 @@ static void bw_calcs_data_update_from_pplib(struct core_dc *dc)
const struct resource_caps *dce112_resource_cap(
struct hw_asic_id *asic_id)
{
- 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 &polaris_11_resource_cap;
else
return &polaris_10_resource_cap;