OSDN Git Service

drm/amd/display: remove dummy is_blanked() to optimise boot time
authorShirish S <shirish.s@amd.com>
Wed, 28 Mar 2018 06:52:22 +0000 (12:22 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:43:07 +0000 (13:43 -0500)
commitd6014e776ceb5da2d86ce405f692522f2b0370f2
treeb533b65d1466371104e6860b9425b5f4785f0a8c
parentdb4b37975888cf22e39f2cabc6590167faabaeaa
drm/amd/display: remove dummy is_blanked() to optimise boot time

is_blanked() hook is a dummy one for underlay pipe, hence
when called, it loops for ~300ms at boot.

This patch removes this dummy call and adds missing checks.

Signed-off-by: Shirish S <shirish.s@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c
drivers/gpu/drm/amd/display/dc/dce/dce_hwseq.c
drivers/gpu/drm/amd/display/dc/dce110/dce110_timing_generator_v.c