mirror_ubuntu-kernels/drivers/gpu/drm/amd/display
Harry Wentland 9c6569dea0 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>
2017-12-20 14:47:56 -05:00
..
amdgpu_dm drm/amd/display: Fix rehook MST display not light back on 2017-12-20 14:46:38 -05:00
dc drm/amd/display: Call validate_fbc should_enable_fbc 2017-12-20 14:47:56 -05:00
include drm/amd/display: Remove grph_object_id.c and move function to bios_parser 2017-12-14 11:01:07 -05:00
modules drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
Kconfig drm/amd/display: make FBC configurable option 2017-10-21 16:46:05 -04:00
Makefile drm/amdgpu: add license to Makefiles 2017-12-07 11:51:10 -05:00
TODO drm/amd/display: Add TODO item to remove vector.c 2017-12-14 11:01:13 -05:00