aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhan Liu <[email protected]>2019-11-28 14:12:11 -0500
committerAlex Deucher <[email protected]>2019-12-02 17:38:11 -0500
commit6bb27085aaa973eac31058a2534d73efe50b3a00 (patch)
tree316530d9a5a6df7b24abdb9d1cca2cdd0d8a37d0
parent869aebc7baa5b9bc65bde29690de311a26b2681b (diff)
drm/amd/display: Include num_vmid and num_dsc within NV14's resource caps
[Why] "num_vmid" and "num_dsc" are missing within NV14's resource caps structure. [How] Add the missing parts. Signed-off-by: Zhan Liu <[email protected]> Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
index 328d10f6fbfe..da7a92fc0909 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
@@ -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 = {