diff options
| author | Ze Huang <ze.huang@oss.qualcomm.com> | 2026-09-19 22:59:35 +0800 |
|---|---|---|
| committer | Thomas Zimmermann <tzimmermann@suse.de> | 2026-10-01 09:22:56 +0200 |
| commit | b08f4d9b21a7846b91bb6c4064f58c3a7ab997c7 (patch) | |
| tree | 508a4f1862d0a66c263c3e2d2b47aa9113dd2203 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 1628e34ee666fbd8bf974c52613cf7c8f957986a (diff) | |
| download | linux-b08f4d9b21a7846b91bb6c4064f58c3a7ab997c7.tar.gz linux-b08f4d9b21a7846b91bb6c4064f58c3a7ab997c7.zip | |
drm/imx/lcdc: avoid duplicate clk_per enable
The simple-KMS helper calls the pipe update after enabling the CRTC.
On an enable commit, imx_lcdc_pipe_enable() already programs the
mode and enables clk_per. The following pipe update sees the plane move
from no CRTC to the active CRTC, treats it as a mode update, and calls
imx_lcdc_update_hw_registers() again.
That second call has no old CRTC state to disable clk_per first, but it
enables clk_per again at the end. The disable path only drops one
reference, leaving clk_per enabled after each on/off cycle.
Skip the register update from the pipe update path when the CRTC already
needs a modeset. The enable path has already programmed the hardware for
that commit; keep the event handling in pipe update unchanged.
Fixes: c87e859cdeb5 ("drm/imx/lcdc: Implement DRM driver for imx25")
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Ze Huang <ze.huang@oss.qualcomm.com>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260919-b4-imx-simple-kms-v4-v4-1-53b1fdf4589e@oss.qualcomm.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
