aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Vetter <[email protected]>2019-10-23 16:49:52 +0200
committerDaniel Vetter <[email protected]>2019-11-04 18:17:36 +0100
commitab4e693342727f8fab7749273d89462d8e6aff06 (patch)
tree7331ce8f04b9da3637a5b2c3ed645cff008611ac /tools/perf/scripts/python
parentb8c8a85995c5c14df8465bf1ab0b92a59641fa7c (diff)
drm/property: Enforce more lifetime rules
Properties can't be attached after registering, userspace would get confused (no one bothers to reprobe really). - Add kerneldoc - Enforce this with some checks. This needs a somewhat ugly check since connectors can be added later on, but we still need to attach all properties before they go public. Note that we already enforce that properties themselves are created before the entire device is registered. Unfortunately this doesn't work for drivers which have a ->load callback, see commit e0f32f78e51b9989ee89f608fd0dd10e9c230652 (tag: drm-misc-next-fixes-2019-09-18) Author: Daniel Vetter <[email protected]> Date: Tue Sep 17 14:09:35 2019 +0200 drm/kms: Duct-tape for mode object lifetime checks for the full story. v2: Fix the superflous newline (Jani) and add commit citation to explain why we need to check for dev->registered (Thierry). Cc: Jani Nikula <[email protected]> Cc: Rajat Jain <[email protected]> Reviewed-by: Thierry Reding <[email protected]> Reviewed-by: Jani Nikula <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions