diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2024-02-23 15:17:39 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-03-20 13:12:58 -0400 |
commit | 94040c2cbb1a872ff779da06bf034ccfee0f9cba (patch) | |
tree | 939430478700484c7fcd059bd7fa2277b8a6142a /fs/backing-file.c | |
parent | 8e054b0f1e71531762b8ded7f66c1b4af734671b (diff) | |
download | linux-stable-94040c2cbb1a872ff779da06bf034ccfee0f9cba.tar.gz linux-stable-94040c2cbb1a872ff779da06bf034ccfee0f9cba.tar.bz2 linux-stable-94040c2cbb1a872ff779da06bf034ccfee0f9cba.zip |
drm/amd/display: Lock all enabled otg pipes even with no planes
[WHY]
On DCN32 we support dynamic ODM even when OTG is blanked. When ODM
configuration is dynamically changed and the OTG is on blank pattern,
we will need to reprogram OPP's test pattern based on new ODM
configuration. Therefore we need to lock the OTG pipe to avoid temporary
corruption when we are reprogramming OPP blank patterns.
[HOW]
Add a new interdependent update lock implementation to lock all enabled
OTG pipes even when there is no plane on the OTG for DCN32.
Cc: Mario Limonciello <mario.limonciello@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
Reviewed-by: Alvin Lee <alvin.lee2@amd.com>
Acked-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'fs/backing-file.c')
0 files changed, 0 insertions, 0 deletions