]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Explicitly disable triplebuffer flips
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Mon, 2 Mar 2020 15:37:43 +0000 (10:37 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 19 Mar 2020 04:03:04 +0000 (00:03 -0400)
commit2a76a930826ac7d0e1e6323ac40d69fb7f3b09b4
treee0152055adcb5a46ac69dc466f4474721f701710
parentd4e24865e17917b86b614ac2a09caf9748ee3170
drm/amd/display: Explicitly disable triplebuffer flips

[Why]
This is enabled by default on Renoir but there's userspace/API support
to actually make use of this.

Since we're not passing this down through surface updates, let's
explicitly disable this for now.

This fixes "dcn20_program_front_end_for_ctx" warnings associated with
incorrect/unexpected programming sequences performed while this is
enabled.

[How]
Disable it at the topmost level in DM in case anyone tries to flip this
to enabled for any of the other ASICs like Navi10/14.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c