drm/amd/display: safeguard compressor api
authorRoman Li <Roman.Li@amd.com>
Wed, 26 Jul 2017 18:42:38 +0000 (14:42 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:15:48 +0000 (18:15 -0400)
commit2f3bfb2794e1aed018e344469f9c371f36f12867
treef28a46b8f45f41bbb35cf47985c44cc9b05d089e
parent4d6356b0cc264686597aac2d04886cbfd8607f09
drm/amd/display: safeguard compressor api

Only call compressor api if it's available.

Signed-off-by: Roman Li <Roman.Li@amd.com>
Reviewed-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@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/dce110/dce110_hw_sequencer.c