diff options
author | Simon Ser <[email protected]> | 2021-02-05 23:41:40 +0100 |
---|---|---|
committer | Simon Ser <[email protected]> | 2023-07-10 09:45:47 +0200 |
commit | 815d091f90e170406bcef9aafc4ca434de206765 (patch) | |
tree | 7bb26b3e04e572bddf37b74ab56fdaca265b29c4 /scripts/generate_rust_analyzer.py | |
parent | 70d1ace56db6c79d39dbe9c0d5244452b67e2fde (diff) |
nouveau/dispnv50: add cursor pitch check
The hardware needs a FB which is packed. Add checks to make sure
this is the case.
While at it, add debug logs for the existing checks. This allows
user-space to more easily figure out why a configuration is
rejected.
v2:
- Use drm_format_info instead of hardcoding bytes-per-pixel (Ilia)
- Remove unnecessary size check (Ilia)
v3:
- Add missing newlines in debug messages (Lyude)
- Use NV_ATOMIC (Lyude)
- Add missing debug log for invalid format (Ilia)
v4: add plane name in debug messages (Ilia)
Signed-off-by: Simon Ser <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Cc: Ben Skeggs <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions