diff options
author | Alvin Lee <Alvin.Lee2@amd.com> | 2022-11-24 22:36:26 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-12-06 10:16:32 -0500 |
commit | a27416656acd8c1e7e6797259c23bc0742c03a8a (patch) | |
tree | 493dae21de7f35b709ff8a7f57e17025b56bc7c3 /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | |
parent | 8747075f54fa0c5d30fcc48e5149c19c02641fa8 (diff) |
drm/amd/display: Ensure commit_streams returns the DC return code
[Description]
- Ensure dc_commit_streams returns the correct return code so any
failures can be handled properly in DM layer
- If set timings fail and we have to remove MPO planes, do so
unconditionally but make sure to mark for removal so we report
the VSYNC and prevent timeout
- Failure to remove MPO plane results in set timings failure due
to lack of resources
Reviewed-by: Aric Cyr <Aric.Cyr@amd.com>
Acked-by: Stylon Wang <stylon.wang@amd.com>
Signed-off-by: Alvin Lee <Alvin.Lee2@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/amdgpu/mxgpu_ai.c')
0 files changed, 0 insertions, 0 deletions