diff options
| author | Wentao Liang <vulab@iscas.ac.cn> | 2026-09-16 18:03:42 +0000 |
|---|---|---|
| committer | Lyude Paul <lyude@redhat.com> | 2026-09-17 14:24:05 -0400 |
| commit | 1e04611d3735543bd80a67d9d13dc13f503746fb (patch) | |
| tree | 2c6bb03f415721d4dedbb71854ccc8b63d4db4b2 /tools/perf/scripts/python | |
| parent | 5ea72f7b7139b123713a7983448f910bc4514d9e (diff) | |
drm/nouveau: Fix runtime PM leak in nouveau_connector_detect()
If nvif_outp_edid_get() fails, nouveau_connector_detect() returns
early without dropping the runtime PM reference taken at the start
of the function, keeping the device powered on until the next
successful detect.
Balance the reference on the error path like the other exit paths
do.
Fixes: 0cd7e0718139 ("drm/nouveau/disp: add output method to fetch edid")
Cc: stable@vger.kernel.org
Signed-off-by: Wentao Liang <vulab@iscas.ac.cn>
Reviewed-by: Lyude Paul <lyude@redhat.com>
Signed-off-by: Lyude Paul <lyude@redhat.com>
Link: https://patch.msgid.link/20260916180342.2090360-1-vulab@iscas.ac.cn
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
