diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2017-08-10 14:39:51 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-09-26 18:16:33 -0400 |
commit | 7992a6290a79afc1568c873d434f39234f7d3e26 (patch) | |
tree | 46b60a2db3ea9baa7176979db4319e35659dbd97 /drivers/gpu/drm/amd/display/dc/core/dc_resource.c | |
parent | ebfdf0d0770bd20e9baff3750b5103d6b7fa21c3 (diff) |
drm/amd/disply/dc: add resource support for DCE8 APUs (v2)
Add the appropriate resources for APUs:
KV: 4 pipes, 7 dig, 3 PPLLs
KB/ML: 2 pipes, 6 dig, 2 PPLLs
v2: rebase changes
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-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/core/dc_resource.c')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_resource.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c index ee7a393b2b00..56a85c80131d 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_resource.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_resource.c @@ -101,9 +101,15 @@ struct resource_pool *dc_create_resource_pool( switch (dc_version) { case DCE_VERSION_8_0: + res_pool = dce80_create_resource_pool( + num_virtual_links, dc); + break; case DCE_VERSION_8_1: + res_pool = dce81_create_resource_pool( + num_virtual_links, dc); + break; case DCE_VERSION_8_3: - res_pool = dce80_create_resource_pool( + res_pool = dce83_create_resource_pool( num_virtual_links, dc); break; case DCE_VERSION_10_0: |