OSDN Git Service

drm/amd/display: add seamless boot flag to stream
authorAnthony Koo <Anthony.Koo@amd.com>
Sun, 20 Jan 2019 06:41:44 +0000 (01:41 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Feb 2019 18:31:07 +0000 (13:31 -0500)
commitd2d7885f75b614a982a73383956570d95d79c23e
tree4f8ec99292528b82a421059c756e0eea51626e2e
parentff582b61466f14d61f3a2a54c3d673d85bcb3c76
drm/amd/display: add seamless boot flag to stream

[Why]
If we determine the stream we are trying to commit
matches HW, we want to try to optimize.

[How]
Try to acquire the HW resources that are already enabled
and optimize.
Also skip backend reprogramming

Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/core/dc_link.c
drivers/gpu/drm/amd/display/dc/core/dc_resource.c
drivers/gpu/drm/amd/display/dc/dc_stream.h
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c