diff options
| author | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-12-15 13:46:41 +0300 |
|---|---|---|
| committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2020-12-15 17:17:31 +0300 |
| commit | 83d74642b0c894e7da04295eeb82a3e1589acbcc (patch) | |
| tree | 75b6edf0dd501597f49aaead18f189e68f453f7e /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | d58eb31f50cb619c60172d752a87f2a00e9f54ed (diff) | |
| download | linux-83d74642b0c894e7da04295eeb82a3e1589acbcc.tar.xz | |
drm/omap: dsi: skip dsi_vc_enable_hs when already in correct mode
Simplify and optimize dsi_vc_enable_hs() so that it can be called
without checking the current HS/LP mode. Make dsi_vc_enable_hs() return
if the VC is already in the correct mode.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-69-tomi.valkeinen@ti.com
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
