aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorZhan Liu <zhan.liu@amd.com>2019-11-28 14:12:11 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-12-03 11:39:48 -0500
commitc3d03c5a196f21381c1a2166a4648beba13d3d1f (patch)
tree60bdfc39ead16da90f3bf4b41f428a3c4994e77f /drivers
parentdrm/amdgpu: use CPU to flush vmhub if sched stopped (diff)
downloadlinux-dev-c3d03c5a196f21381c1a2166a4648beba13d3d1f.tar.xz
linux-dev-c3d03c5a196f21381c1a2166a4648beba13d3d1f.zip
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 <zhan.liu@amd.com> Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers')
-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 bbd1c98564be..1d7d3fd33aab 100644
--- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
+++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_resource.c
@@ -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 = {