commit | 9a6edc3ac968aca9ce51d16917705a857285286b | [log] [tgz] |
---|---|---|
author | Ilia Mirkin <imirkin@alum.mit.edu> | Sat Aug 05 22:25:03 2017 -0400 |
committer | Ben Skeggs <bskeggs@redhat.com> | Tue Aug 22 18:04:34 2017 +1000 |
tree | b40e23195a72ad94e7b8b47cefb7dc5badbbac2b | |
parent | 3ce72bcf33c200e78b87699d20f8e5a564e29a98 [diff] |
drm/nouveau/kms/nv04-nv40: improve overlay error detection, fix pitch setting We were previously setting the pitch based on a perfectly packed buffer. This does not necessarily happen. Either modetest started generating such buffers recently, or earlier testing only happened with well-picked overlay sizes. While we're at it, beef up and refactor the error state detection. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>