[PATCH 082/120] drm/amd/display: Stub new resource objects

Harry Wentland harry.wentland at amd.com
Wed Aug 9 15:02:08 UTC 2017


We want to split pipe_ctx into plane and stream resource objects.

Change-Id: If77a654c44d8194435fac23f6ec290cafd9d9969
Signed-off-by: Harry Wentland <harry.wentland at amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng at amd.com>
Acked-by: Harry Wentland <Harry.Wentland at amd.com>
---
 drivers/gpu/drm/amd/display/dc/inc/core_types.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/drivers/gpu/drm/amd/display/dc/inc/core_types.h b/drivers/gpu/drm/amd/display/dc/inc/core_types.h
index 3b3330c563e0..6c937411af23 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/core_types.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/core_types.h
@@ -152,10 +152,21 @@ struct resource_pool {
 	const struct resource_caps *res_cap;
 };
 
+struct stream_resource {
+	int stub;
+};
+
+struct plane_resource {
+	int stub;
+};
+
 struct pipe_ctx {
 	struct dc_plane_state *plane_state;
 	struct dc_stream_state *stream;
 
+	struct plane_resource plane_res;
+	struct stream_resource stream_res;
+
 	struct mem_input *mi;
 	struct input_pixel_processor *ipp;
 	struct transform *xfm;
-- 
2.11.0



More information about the amd-gfx mailing list