diff options
| author | 2022-02-18 12:03:50 +0200 | |
|---|---|---|
| committer | 2022-03-14 17:38:59 +0200 | |
| commit | 193c4df5b0dcbb7ea0efb99ca13bd05cd1adaddb (patch) | |
| tree | d77441c635d1a4ba183e9dc5d04897d74d62ac9b /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | drm/bridge: Use drm_mode_copy() (diff) | |
drm/imx: 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);
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220218100403.7028-10-ville.syrjala@linux.intel.com
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
