diff options
author | Nikola Cornij <[email protected]> | 2021-01-21 22:35:54 -0500 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2021-02-02 12:12:22 -0500 |
commit | 40d916a2602c8920e0f04a49abfd1ff7c1e54e91 (patch) | |
tree | ffb2e442eb0d84a03898d7a29680d9c82419dae9 /lib/mpi/mpi-sub-ui.c | |
parent | e2dcd9b8b803b927b4cbc59d91c4088334a248bb (diff) |
drm/amd/display: Reject too small viewport size when validating plane
[why]
Overlay won't move to a new positon if viewport size is smaller than
what can be handled. It'd either disappear or stay at the old
position. This condition is for example hit if overlay is moved too
much outside of left or top edge of the screen, but it applies to
any non-cursor plane type.
[how]
Reject this contidion at validation time. This gives the calling
level a chance to handle this gracefully and avoid inconsistent
behaivor.
Signed-off-by: Nikola Cornij <[email protected]>
Reviewed-by: Nicholas Kazlauskas <[email protected]>
Acked-by: Anson Jacob <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions