diff options
| author | Wenjing Liu <[email protected]> | 2024-03-15 16:03:12 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-04-10 01:51:32 +0000 |
| commit | 62297b71a02d73e761470f7907ec1ce63bb3615c (patch) | |
| tree | e71737ca94a021c660350e9e53792a37db60e23c /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | drm/amd/display: fix underflow in some two display subvp/non-subvp configs (diff) | |
| download | kernel-62297b71a02d73e761470f7907ec1ce63bb3615c.tar.gz kernel-62297b71a02d73e761470f7907ec1ce63bb3615c.zip | |
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 <[email protected]>
Acked-by: Roman Li <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
