소스 검색

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 년 전
부모
커밋
79b06f0ce5
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      drivers/gpu/drm/amd/display/dc/inc/core_types.h

+ 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;
 };
 
+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;