summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/inc/resource.h
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2019-02-22 16:52:08 -0500
committerAlex Deucher <alexander.deucher@amd.com>2019-06-21 18:59:35 -0500
commit7ed4e6352c16fe018864bc4e626c48e27a0cefee (patch)
tree8fba67bd3f80e34f5e75fa728a791879d8e80ddd /drivers/gpu/drm/amd/display/dc/inc/resource.h
parent18eaea4bf80bb8aab6a7070dc6550e6132cd5bdc (diff)
drm/amd/display: Add DCN2 HW Sequencer and Resource
Add DCN2 resource definition and HW Sequencer changes. Signed-off-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/resource.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/resource.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/resource.h b/drivers/gpu/drm/amd/display/dc/inc/resource.h
index 08915b737799..60fa4697dc70 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/resource.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/resource.h
@@ -44,6 +44,9 @@ struct resource_caps {
int num_pll;
int num_dwb;
int num_ddc;
+#ifdef CONFIG_DRM_AMD_DC_DCN2_0
+ int num_vmid;
+#endif
};
struct resource_straps {