Эх сурвалжийг харах

drm/amd/display: Stub new resource objects

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>
Harry Wentland 8 жил өмнө
parent
commit
79b06f0ce5

+ 11 - 0
drivers/gpu/drm/amd/display/dc/inc/core_types.h

@@ -152,10 +152,21 @@ struct resource_pool {
 	const struct resource_caps *res_cap;
 	const struct resource_caps *res_cap;
 };
 };
 
 
+struct stream_resource {
+	int stub;
+};
+
+struct plane_resource {
+	int stub;
+};
+
 struct pipe_ctx {
 struct pipe_ctx {
 	struct dc_plane_state *plane_state;
 	struct dc_plane_state *plane_state;
 	struct dc_stream_state *stream;
 	struct dc_stream_state *stream;
 
 
+	struct plane_resource plane_res;
+	struct stream_resource stream_res;
+
 	struct mem_input *mi;
 	struct mem_input *mi;
 	struct input_pixel_processor *ipp;
 	struct input_pixel_processor *ipp;
 	struct transform *xfm;
 	struct transform *xfm;