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>
Tue, 3 Dec 2019 16:39:48 +0000 (11:39 -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 bbd1c98564be50c0928af800ffb08841fda18ab2..1d7d3fd33aab37d2ecde7047fce6c70bbdfd129e 100644 (file)
@@ -854,6 +854,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 = {