]> Git Repo - linux.git/commit
drm/amd/display: Update odm when ODM combine is changed on an otg master pipe with...
authorWenjing Liu <[email protected]>
Wed, 21 Feb 2024 21:55:04 +0000 (16:55 -0500)
committerAlex Deucher <[email protected]>
Wed, 20 Mar 2024 17:12:58 +0000 (13:12 -0400)
commit86e9523fb0efce27095d3086473c739cce720d01
treea9208bd995e04226a8682d52c5497283083f728f
parent4f5b8d78ca43fcc695ba16c83ebfabbfe09506d6
drm/amd/display: Update odm when ODM combine is changed on an otg master pipe with no plane

[WHY]
When committing an update with ODM combine change when the plane is
removing or already removed, we fail to detect odm change in pipe
update flags. This has caused mismatch between new dc state and the
actual hardware state, because we missed odm programming.

[HOW]
- Detect odm change even for otg master pipe without a plane.
- Update odm config before calling program pipes for pipe with planes.

The commit also updates blank pattern programming when odm is changed
without plane. This is because number of OPP is changed when ODM
combine is changed. Blank pattern is per OPP so we will need to
reprogram OPP based on the new pipe topology.

Cc: Mario Limonciello <[email protected]>
Cc: Alex Deucher <[email protected]>
Cc: [email protected]
Reviewed-by: Dillon Varone <[email protected]>
Acked-by: Alex Hung <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/hwss/dcn20/dcn20_hwseq.c
drivers/gpu/drm/amd/display/dc/hwss/dcn32/dcn32_hwseq.c
This page took 0.05284 seconds and 4 git commands to generate.