summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMaxime Ripard <maxime@cerno.tech>2022-07-11 19:39:01 +0200
committerMaxime Ripard <maxime@cerno.tech>2022-07-13 10:46:09 +0200
commit71b1bd4c2bd404b28cc499fa37d02e32f55de865 (patch)
treea51f10c03363f0f4da8d44214caa23a3885b2479 /tools/perf/scripts/python/event_analyzing_sample.py
parent055af0235aef8110a1c44f5fc04c5c206e9e58fb (diff)
downloadkernel-71b1bd4c2bd404b28cc499fa37d02e32f55de865.tar.gz
drm/vc4: dpi: Protect device resources
Our current code now mixes some resources whose lifetime are tied to the device (clocks, IO mappings, etc.) and some that are tied to the DRM device (encoder, bridge). The device one will be freed at unbind time, but the DRM one will only be freed when the last user of the DRM device closes its file handle. So we end up with a time window during which we can call the encoder hooks, but we don't have access to the underlying resources and device. Let's protect all those sections with drm_dev_enter() and drm_dev_exit() so that we bail out if we are during that window. Acked-by: Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by: Dave Stevenson <dave.stevenson@raspberrypi.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech> Link: https://lore.kernel.org/r/20220711173939.1132294-32-maxime@cerno.tech
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
4-03-07 09:42:09 +0100'>2024-03-07Documentation: i2c: Document that client auto-detection is a legacy mechanismHeiner Kallweit 2023-12-27Documentation/i2c: fix spelling error in i2c-address-translatorsAttreyee Mukherjee 2023-10-29Documentation: i2c: add fault code for not supporting 10 bit addressesWolfram Sang 2023-10-10i2c: i801: Add support for Intel Birch Stream SoCJarkko Nikula 2023-09-01Merge tag 'media/v6.6-1' of git://git.kernel.org/pub/scm/linux/kernel/git/mch...Linus Torvalds 2023-08-14i2c: Update documentation to use .probe() againUwe Kleine-König 2023-07-14media: i2c: add I2C Address Translator (ATR) supportLuca Ceresoli 2023-06-05i2c: i801: Add support for Intel Meteor Lake PCH-SJarkko Nikula 2023-02-15Documentation: i2c: correct spellingRandy Dunlap 2022-09-28docs: i2c: slave-interface: return errno when handle I2C_SLAVE_WRITE_REQUESTEDQuan Nguyen 2022-09-27Merge branch 'master' into i2c/for-mergewindowWolfram Sang 2022-09-16Documentation: i2c: fix references to other documentsWolfram Sang 2022-09-16Merge tag 'v6.0-rc5' into i2c/for-mergewindowWolfram Sang 2022-08-29docs: i2c: piix4: Fix typos, add markup, drop linkBruce Duncan 2022-08-29docs: i2c: i2c-topology: reorder sections more logicallyLuca Ceresoli 2022-08-29docs: i2c: i2c-topology: fix incorrect headingLuca Ceresoli 2022-08-29docs: i2c: i2c-topology: fix typoLuca Ceresoli 2022-08-16i2c: Make remove callback return voidUwe Kleine-König 2022-08-11docs: i2c: i2c-sysfs: fix hyperlinksLuca Ceresoli 2022-08-11docs: i2c: i2c-sysfs: improve wordingLuca Ceresoli 2022-08-11docs: i2c: instantiating-devices: add syntax coloring to dts and C blocksLuca Ceresoli 2022-08-11docs: i2c: smbus-protocol: improve DataLow/DataHigh definitionLuca Ceresoli 2022-08-11docs: i2c: i2c-protocol: remove unused legend itemsLuca Ceresoli 2022-08-11docs: i2c: i2c-protocol,smbus-protocol: remove nonsense wordsLuca Ceresoli 2022-08-11docs: i2c: i2c-protocol: update introductory paragraphLuca Ceresoli 2022-07-06i2c: i801: Add support for Intel Meteor Lake-PJarkko Nikula 2022-05-04docs: i2c: reference simple probesStephen Kitt 2022-02-15i2c: i801: Add support for Intel Raptor Lake PCH-SJarkko Nikula 2021-12-31Docs: Fixes link to I2C specificationDeep Majumder 2021-11-23docs: i2c: smbus-protocol: mention the repeated start conditionMiquel Raynal