diff options
| author | Ville Syrjälä <[email protected]> | 2022-02-18 12:04:01 +0200 |
|---|---|---|
| committer | Ville Syrjälä <[email protected]> | 2022-03-14 17:39:53 +0200 |
| commit | ec5d4a723b57721ca0f3c1c86576412e32a50579 (patch) | |
| tree | 1d5241eed2e9ae2a77a1c3dd80cf05b3d7637b91 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 193c4df5b0dcbb7ea0efb99ca13bd05cd1adaddb (diff) | |
drm/panel: Use drm_mode_duplicate()
Replace the hand rolled drm_mode_duplicate() with the
real thing.
@is_dup@
@@
drm_mode_duplicate(...)
{ ... }
@depends on !is_dup@
expression dev, oldmode;
identifier newmode;
@@
- newmode = drm_mode_create(dev);
+ newmode = drm_mode_duplicate(dev, oldmode);
...
- drm_mode_copy(newmode, oldmode);
Signed-off-by: Ville Syrjälä <[email protected]>
Cc: Thierry Reding <[email protected]>
Cc: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Acked-by: Sam Ravnborg <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions