drm/amd/display: Stub new resource objects
authorHarry Wentland <harry.wentland@amd.com>
Sun, 30 Jul 2017 15:43:06 +0000 (11:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:16:06 +0000 (18:16 -0400)
We want to split pipe_ctx into plane and stream resource objects.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/core_types.h

index 3b3330c563e04b8886433113a6e7d437e887eb99..6c937411af23279c50379658c0f3f9c8b1522818 100644 (file)
@@ -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;