diff options
author | Nicholas Kazlauskas <[email protected]> | 2020-05-06 14:21:35 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2020-05-21 12:48:43 -0400 |
commit | b6dbb8ff9dbfdf55ee88e668099d9d7517f109a5 (patch) | |
tree | 56187ba5a9cf40da14ee862fc8c1601499fcbe1e /lib/netdev-notifier-error-inject.c | |
parent | 63731e73dae413d535fd4cef3d8a77203c13f3f4 (diff) |
drm/amd/display: Avoid pipe split when plane is too small
[Why]
The minimum plane size we can support in DML is 16x16. If we try to pass
a 16x16 plane with dynamic pipe split then validation will fail since it
tries to split it into two pipes, each 8x8.
Some userspace doesn't check that the commit fails and because the
commit fails the old state is retained, resulting in corruption.
[How]
Add a workaround to avoid pipe split if any plane is 16x16 or smaller.
Signed-off-by: Nicholas Kazlauskas <[email protected]>
Reviewed-by: Aric Cyr <[email protected]>
Acked-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions