]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/display: check if fbc is available in set_static_screen_control (v2)
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 2 Nov 2018 15:51:50 +0000 (10:51 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 6 Nov 2018 21:45:08 +0000 (16:45 -0500)
commita6263ae98ab5f8b24914b5893e61ab7941848970
tree0809403a2ac4755a90f1bb32f83fcf612ac10129
parentca2f4f40fe1b7772470dc5d220172328c4a338b0
drm/amdgpu/display: check if fbc is available in set_static_screen_control (v2)

The value is dependent on whether fbc is available.

v2: only check if num_pipes is valid

Reviewed-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