drm/amd/display: don't crash if stream is NULL when trying to share clocks
authorYongqiang Sun <yongqiang.sun@amd.com>
Wed, 21 Dec 2016 16:16:48 +0000 (11:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 21:06:55 +0000 (17:06 -0400)
commit0f4e66cd7dac538adca4b1cac8f36b90db1709e6
treec44c5fd992cf4615927288bbf3bee79c33db15d9
parentd7194cf6b8ddf0344e70834397d0b1af2cc5fe05
drm/amd/display: don't crash if stream is NULL when trying to share clocks

Signed-off-by: Yongqiang Sun <yongqiang.sun@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_resource.c