drm/amd/display: Include num_vmid and num_dsc within NV14's resource caps
authorZhan Liu <zhan.liu@amd.com>
Thu, 28 Nov 2019 19:12:11 +0000 (14:12 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 2 Dec 2019 22:38:11 +0000 (17:38 -0500)
[Why]
"num_vmid" and "num_dsc" are missing within NV14's resource caps structure.

[How]
Add the missing parts.

Signed-off-by: Zhan Liu <zhan.liu@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c

index 328d10f..da7a92f 100644 (file)
@@ -847,6 +847,8 @@ static const struct resource_caps res_cap_nv14 = {
                .num_pll = 5,
                .num_dwb = 1,
                .num_ddc = 5,
+               .num_vmid = 16,
+               .num_dsc = 5,
 };
 
 static const struct dc_debug_options debug_defaults_drv = {