diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2023-07-20 12:30:29 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-08-07 17:14:08 -0400 |
commit | ca030d83f53bbe8cadfaf928d170078213749624 (patch) | |
tree | 2c836be34f14f43bf8a565734d63930d5e7efdf5 /drivers/gpu/drm/amd/display/dc/inc/resource.h | |
parent | e75b965e9aacb53ed30fadb5bed7f92fb75fe9f4 (diff) | |
download | linux-ca030d83f53bbe8cadfaf928d170078213749624.tar.gz linux-ca030d83f53bbe8cadfaf928d170078213749624.tar.bz2 linux-ca030d83f53bbe8cadfaf928d170078213749624.zip |
drm/amd/display: always acquire MPO pipe for every blending tree
[why]
We only acquire MPO pipe for blending tree where the plane clip will
be rendered. If an MPO plane is outside current ODM slice rect, we will
skip pipe allocation. With new programming policy we want to allocate
pipes for every ODM slice blending tree even for those whose ODM slice
rect doesn't intersect with plane clip. This is aligned with DML validation
so the pipe topology is programmed independently from the plane's
position and dst plane size.
[how]
- Remove the logic to allocate pipe only when the MPO plane intersects
with ODM slice and replace with the new logic to always allocate pipes.
- Remove the logic to tear down ODM configuration in favor for supporting
secondary MPO planes.
- Remove the logic to use full update when MPO goes accross ODM slice
boundary.
Reviewed-by: Jun Lei <jun.lei@amd.com>
Acked-by: Tom Chung <chiahsuan.chung@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 'drivers/gpu/drm/amd/display/dc/inc/resource.h')
0 files changed, 0 insertions, 0 deletions