diff options
author | 2021-09-09 16:33:52 -0400 | |
---|---|---|
committer | 2021-09-29 17:29:59 -0400 | |
commit | 028a998c62f72cb879d44809cb96acdcc47d6137 (patch) | |
tree | dbb0c6e9890e2f7859516e0f1d3569c801777b2e /drivers/gpu/drm/amd/amdgpu/amdgpu_display.c | |
parent | drm/amd/display: Replace referral of dal with dc (diff) | |
download | linux-rng-028a998c62f72cb879d44809cb96acdcc47d6137.tar.xz linux-rng-028a998c62f72cb879d44809cb96acdcc47d6137.zip |
drm/amd/display: Defer LUT memory powerdown until LUT bypass latches
[WHY]
Blnd, 3dlut, and shaper LUT select registers are double buffered, however
their accompanying LUT memory shutdown registers are not. As a result,
shutting down LUT memory immediately after setting a block to bypass causes
corruption as bypass only happens at next Vupdate.
[HOW]
Re-enable mem low power for CM block
Force optimization on next flip and disable LUT memory during optimization
sequence if LUT select field is then set to bypass
v2: squash in CONFIG_DRM_AMD_DC_DCN fix (Alex)
Reviewed-by: Eric Yang <Eric.Yang2@amd.com>
Acked-by: Anson Jacob <Anson.Jacob@amd.com>
Signed-off-by: Michael Strauss <michael.strauss@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_display.c')
0 files changed, 0 insertions, 0 deletions