summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-07-30 18:43:06 +0300
committerAlex Deucher <alexander.deucher@amd.com>2017-09-27 01:16:06 +0300
commit79b06f0ce58cc6eb7cd8ad83c308fa59ccb355e0 (patch)
treea8f260453aeb33b64ca15c9ca5f7c0519d73e309
parent0a8f43ff64156525f98220efe0992925995153b6 (diff)
downloadlinux-79b06f0ce58cc6eb7cd8ad83c308fa59ccb355e0.tar.xz
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>
-rw-r--r--drivers/gpu/drm/amd/display/dc/inc/core_types.h11
1 files changed, 11 insertions, 0 deletions
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;