diff options
| author | Daniel Palmer <daniel@0x0f.com> | 2025-10-18 14:44:50 +0900 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-10-28 10:59:56 -0400 |
| commit | 3328443363a0895fd9c096edfe8ecd372ca9145e (patch) | |
| tree | d76efc2dd976e45e8f3372c17f5c59e6837f8d4b /tools/perf/scripts/python/stackcollapse.py | |
| parent | drm/amd: Check that VPE has reached DPM0 in idle handler (diff) | |
| download | linux-3328443363a0895fd9c096edfe8ecd372ca9145e.tar.gz linux-3328443363a0895fd9c096edfe8ecd372ca9145e.zip | |
drm/radeon: Do not kfree() devres managed rdev
Since the allocation of the drivers main structure was changed to
devm_drm_dev_alloc() rdev is managed by devres and we shouldn't be calling
kfree() on it.
This fixes things exploding if the driver probe fails and devres cleans up
the rdev after we already free'd it.
Fixes: a9ed2f052c5c ("drm/radeon: change drm_dev_alloc to devm_drm_dev_alloc")
Signed-off-by: Daniel Palmer <daniel@0x0f.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 16c0681617b8a045773d4d87b6140002fa75b03b)
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
