drm/amd/display: Don't update surface if dimensions are 0
authorCorbin McElhanney <corbin.mcelhanney@amd.com>
Thu, 1 Jun 2017 19:40:04 +0000 (15:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:07:46 +0000 (18:07 -0400)
commite7b1322e15ea66c135ff98c1eb15fc542ef79c89
treed997d62c6dab667df9762ac7a60dcee1c4e8c35b
parent9c42df59e44fd44cd84fe9ccd64f9f2942164d0f
drm/amd/display: Don't update surface if dimensions are 0

Signed-off-by: Corbin McElhanney <corbin.mcelhanney@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>
drivers/gpu/drm/amd/display/dc/core/dc.c