drm/amd/display: remove surface validation against stream rect
authorReza Amini <reza.amini@amd.com>
Fri, 17 Mar 2017 19:24:09 +0000 (15:24 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:21:52 +0000 (17:21 -0400)
commit934d292316b5d3933d7fe6811c5d7a696c33910c
treed516c043e8166bf5a2f3a91203739e93ab36c63b
parent64d8b7806e40a1520d5eb47157ff4ee15efc3bf6
drm/amd/display: remove surface validation against stream rect

Surface information is by default copied from old context in dc_commit_stream.
Thus unchange streams will not be affected. For new streams, we shouldn't
validate the new mode against the surface configuration of old_context.

Signed-off-by: Reza Amini <reza.amini@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce100/dce100_resource.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_resource.c
drivers/gpu/drm/amd/display/dc/dce112/dce112_resource.c
drivers/gpu/drm/amd/display/dc/dce80/dce80_resource.c