drm/amd/display: Call validate_fbc should_enable_fbc
authorHarry Wentland <harry.wentland@amd.com>
Fri, 1 Dec 2017 14:49:46 +0000 (09:49 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 20 Dec 2017 19:47:56 +0000 (14:47 -0500)
commit9c6569dea07cd730d424b84c8348d19bb4bb2ff0
treea9ec0f758f7201f7b2f9d64235cb482da305e130
parente9be38b42ace49a22641151b449dcd3a2a3b4d6a
drm/amd/display: Call validate_fbc should_enable_fbc

validate_fbc never fails a modeset. It's simply used to decide whether
to use FBC or not. Calling it validate_fbc might be confusing to some so
rename it to should_enable_fbc.

With that let's also remove the DC_STATUS return code and return bool
and make enable_fbc a void function since we never check it's return
value and probably never want to anyways.

Signed-off-by: Harry Wentland <harry.wentland@amd.com>
Reviewed-by: Roman Li <Roman.Li@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