diff options
author | Daniel Vetter <[email protected]> | 2021-05-06 15:23:43 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2021-05-12 11:31:29 +0200 |
commit | bfebd42d5609848de3c5b5723e56f2e6f08ca8ec (patch) | |
tree | 1db9d3d255c500a6b77d9a171881b616e60188d4 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | dda6024b57c03f2f7708f019ba6511743d5f5630 (diff) |
drm/modifiers: Enforce consistency between the cap an IN_FORMATS
It's very confusing for userspace to have to deal with inconsistencies
here, and some drivers screwed this up a bit. Most just ommitted the
format list when they meant to say that only linear modifier is
allowed, but some also meant that only implied modifiers are
acceptable (because actually none of the planes registered supported
modifiers).
Now that this is all done consistently across all drivers, document
the rules and enforce it in the drm core.
v2:
- Make the capability a link (Simon)
- Note that all is lost before 5.1.
v3:
- Use drm_WARN_ON (Lyude)
Acked-by: Pekka Paalanen <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Reviewed-by: Lyude Paul <[email protected]>
Acked-by: Maxime Ripard <[email protected]>
Cc: Simon Ser <[email protected]>
Reviewed-by: Lucas Stach <[email protected]>
Cc: Pekka Paalanen <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions