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

Change-Id: If77a654c44d8194435fac23f6ec290cafd9d9969
Signed-off-by: Harry Wentland <harry.wentl...@amd.com>
Reviewed-by: Tony Cheng <tony.ch...@amd.com>
Acked-by: Harry Wentland <harry.wentl...@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

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to