drm/amd/display: Allow update stream without surface
authorCorbin McElhanney <corbin.mcelhanney@amd.com>
Tue, 23 May 2017 19:26:57 +0000 (15:26 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:07:34 +0000 (18:07 -0400)
commitc7dbdf1535a34741a8805d04a9ae75a887d8b581
tree1da4ce8046b5ac11fa38dc76d842e8d09aa1dfe6
parent29eba8e88f3665b5099d0c4ef7180b631846aa0b
drm/amd/display: Allow update stream without surface

Passing NULL as surfaceUpdates to dc_update_surfaces_and_stream now
updates just the stream. Code that is dependent on srf_updates was moved
below the NULL check.

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