diff options
| author | Maxime Ripard <maxime@cerno.tech> | 2021-08-19 15:59:28 +0200 |
|---|---|---|
| committer | Maxime Ripard <maxime@cerno.tech> | 2021-10-25 15:33:40 +0200 |
| commit | caa51a4c11f1cadba9bcf61ed9e0105711952ce7 (patch) | |
| tree | 3b034bdc5b01d2879b88743cdf9ecaecb2ca28f6 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | drm/vc4: hdmi: Make sure the controller is powered up during bind (diff) | |
| download | linux-caa51a4c11f1cadba9bcf61ed9e0105711952ce7.tar.gz linux-caa51a4c11f1cadba9bcf61ed9e0105711952ce7.zip | |
drm/vc4: hdmi: Rework the pre_crtc_configure error handling
Since our pre_crtc_configure hook returned void, we didn't implement a
goto-based error path handling, leading to errors like failing to put
back the device in pm_runtime in all the error paths, but also failing
to disable the pixel clock if clk_set_min_rate on the HSM clock fails.
Move to a goto-based implementation to have an easier consitency.
Fixes: 4f6e3d66ac52 ("drm/vc4: Add runtime PM support to the HDMI encoder driver")
Link: https://patchwork.freedesktop.org/patch/msgid/20210819135931.895976-4-maxime@cerno.tech
Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
