Commit 7992a629 authored by Alex Deucher's avatar Alex Deucher Committed by Alex Deucher

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: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarHarry Wentland <harry.wentland@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ebfdf0d0
......@@ -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:
......
......@@ -35,5 +35,13 @@ struct resource_pool *dce80_create_resource_pool(
uint8_t num_virtual_links,
struct core_dc *dc);
struct resource_pool *dce81_create_resource_pool(
uint8_t num_virtual_links,
struct core_dc *dc);
struct resource_pool *dce83_create_resource_pool(
uint8_t num_virtual_links,
struct core_dc *dc);
#endif /* __DC_RESOURCE_DCE80_H__ */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment