OSDN Git Service

drm/amd/display: disable FBC on underlay pipe
authorShirish S <shirish.s@amd.com>
Wed, 25 Apr 2018 09:12:28 +0000 (14:42 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:17 +0000 (13:44 -0500)
commit87ac8fb08bc7c69a39842c73f3a9d06eb73f02cc
tree5ac1c121d208a9a2528a3cc2985814242d1acdc0
parentf7dbe9186d85dd63df7868d408fea6859281c446
drm/amd/display: disable FBC on underlay pipe

FBC is not applicable for the underlay pipe,
hence disallow enabling and disabling of the same.

This also fixes the BUG hit of calling sleep in
atomic context.

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Roman Li <Roman.Li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c