diff options
| author | Sam Ravnborg <[email protected]> | 2020-07-26 22:33:10 +0200 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2020-07-27 17:17:32 +0200 |
| commit | ddb8e853dc8507ecf9c7b4630857771da1f89752 (patch) | |
| tree | a0541dffa40b0f0724df6954ce001eb8a57e2c79 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 2a5c2ff5848efc77a115c53d59655aa6016237e8 (diff) | |
drm/panel: panel-simple: validate panel description
Warn if we detect a panel with incomplete/wrong description.
This is inspired by a similar patch by Laurent that introduced checks
for LVDS panels - this extends the checks to the remaining type of
connectors.
This is known to warn for some of the existing panels but added
despite this as we need help from people using the panels to
add the missing info.
The checks are not complete but will catch the most common mistakes.
The checks at the same time serve as documentation for the minimum
required description for a panel.
The checks uses dev_warn() as we know this will hit. WARN() was
too noisy at the moment for anything else than LVDS.
v3:
- %d => %u for bpc (Laurent)
v2:
- Use dev_warn (Laurent)
- Check for empty bus_flags
Signed-off-by: Sam Ravnborg <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Cc: Laurent Pinchart <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions