From: Harry Wentland Date: Sun, 30 Jul 2017 15:43:06 +0000 (-0400) Subject: drm/amd/display: Stub new resource objects X-Git-Tag: v4.15~362^2~23^2~231 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=79b06f0ce58cc6eb7cd8ad83c308fa59ccb355e0;p=mirror_ubuntu-bionic-kernel.git drm/amd/display: Stub new resource objects We want to split pipe_ctx into plane and stream resource objects. Signed-off-by: Harry Wentland Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- 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;