summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.h
diff options
context:
space:
mode:
authorAndrey Grodzovsky <Andrey.Grodzovsky@amd.com>2017-07-31 11:29:25 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:16:46 -0400
commit1dc904974eb7deef924650adc5af542878ce2040 (patch)
tree95442b52c0623207b322a7694674e5937acb00a6 /drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.h
parenta185048ca88ce143f980f2b819f034cfc09a5377 (diff)
drm/amd/display: Per stream validate_context build v2.
Until now new context would start as empty, then populated with exsisting pipes + new. Now we start with duplication of existing context and then add/delete from the context pipes as needed. This allows to do a per stream resource population, start discarding dc_validation_set and by this brings DC closer to to DRM. v2: Add some fixes and rebase. Signed-off-by: Andrey Grodzovsky <Andrey.Grodzovsky@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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.h')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.h b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.h
index 69f8f689196d..f1834bfe3d1e 100644
--- a/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.h
+++ b/drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.h
@@ -51,6 +51,11 @@ bool dce112_validate_bandwidth(
struct dc *dc,
struct validate_context *context);
+enum dc_status dce112_add_stream_to_ctx(
+ struct dc *dc,
+ struct validate_context *new_ctx,
+ struct dc_stream_state *dc_stream);
+
#endif /* __DC_RESOURCE_DCE112_H__ */