diff options
author | Wenjing Liu <wenjing.liu@amd.com> | 2024-03-15 12:03:12 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-04-09 21:51:32 -0400 |
commit | 62297b71a02d73e761470f7907ec1ce63bb3615c (patch) | |
tree | e71737ca94a021c660350e9e53792a37db60e23c /rust/uapi/lib.rs | |
parent | 7ae0caf348830d92661296ec46ec5b4cfeb440b2 (diff) |
drm/amd/display: optimize dml2 pipe resource allocation order
[why]
There could be cases that we are transition from MPC to ODM combine.
In this case if we map pipes before unmapping MPC pipes, we might
temporarly run out of pipes. The change reorders pipe resource
allocation. So we unmapping pipes before mapping new pipes.
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Acked-by: Roman Li <roman.li@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 'rust/uapi/lib.rs')
0 files changed, 0 insertions, 0 deletions