diff options
author | Douglas Anderson <dianders@chromium.org> | 2022-05-10 12:29:43 -0700 |
---|---|---|
committer | Douglas Anderson <dianders@chromium.org> | 2022-06-02 15:15:10 -0700 |
commit | 50e156bd8a9d0910ac4bae5fcff00ddb798db967 (patch) | |
tree | 1ccd308cb3fce185348147d0edae477fb3a9add8 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3800b1710946f7db3cb3a29cb2e218cf5df999d0 (diff) |
drm/bridge: Add devm_drm_bridge_add()
This adds a devm managed version of drm_bridge_add(). Like other
"devm" function listed in drm_bridge.h, this function takes an
explicit "dev" to use for the lifetime management. A few notes:
* In general we have a "struct device" for bridges that makes a good
candidate for where the lifetime matches exactly what we want.
* The "bridge->dev->dev" device appears to be the encoder
device. That's not the right device to use for lifetime management.
Suggested-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220510122726.v3.3.Iba4b9bf6c7a1ee5ea2835ad7bd5eaf84d7688520@changeid
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions