summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVille Syrjälä <ville.syrjala@linux.intel.com>2022-02-18 12:04:01 +0200
committerVille Syrjälä <ville.syrjala@linux.intel.com>2022-03-14 17:39:53 +0200
commitec5d4a723b57721ca0f3c1c86576412e32a50579 (patch)
tree1d5241eed2e9ae2a77a1c3dd80cf05b3d7637b91 /tools/perf/scripts/python
parent193c4df5b0dcbb7ea0efb99ca13bd05cd1adaddb (diff)
downloadlinux-ec5d4a723b57721ca0f3c1c86576412e32a50579.tar.gz
linux-ec5d4a723b57721ca0f3c1c86576412e32a50579.zip
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ä <ville.syrjala@linux.intel.com> Cc: Thierry Reding <thierry.reding@gmail.com> Cc: Sam Ravnborg <sam@ravnborg.org> Link: https://patchwork.freedesktop.org/patch/msgid/20220218100403.7028-21-ville.syrjala@linux.intel.com Acked-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions