diff options
| author | Brian Norris <[email protected]> | 2022-03-01 18:11:38 -0800 |
|---|---|---|
| committer | Douglas Anderson <[email protected]> | 2022-03-09 08:00:39 -0800 |
| commit | 8fb6c44fe8468f92ac7b8bbfcca4404a4e88645f (patch) | |
| tree | dc86069e4d0dedbc3723b9b01a938400592ff201 /tools/perf/scripts/python | |
| parent | 46db48f25ed116bf028eca583a0d85a8ae86dd0a (diff) | |
drm/bridge: analogix_dp: Grab runtime PM reference for DP-AUX
If the display is not enable()d, then we aren't holding a runtime PM
reference here. Thus, it's easy to accidentally cause a hang, if user
space is poking around at /dev/drm_dp_aux0 at the "wrong" time.
Let's get a runtime PM reference, and check that we "see" the panel.
Don't force any panel power-up, etc., because that can be intrusive, and
that's not what other drivers do (see
drivers/gpu/drm/bridge/ti-sn65dsi86.c and
drivers/gpu/drm/bridge/parade-ps8640.c.)
Fixes: 0d97ad03f422 ("drm/bridge: analogix_dp: Remove duplicated code")
Cc: <[email protected]>
Cc: Tomeu Vizoso <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20220301181107.v4.1.I773a08785666ebb236917b0c8e6c05e3de471e75@changeid
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions