diff options
| author | Joshua Aberback <joshua.aberback@amd.com> | 2025-10-23 23:43:56 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-11-04 19:53:20 +0300 |
| commit | b0ba3108e3f8b20d8631ca4475a1a6d171973651 (patch) | |
| tree | 6afcf213646303de8a44ef3486a00d68966b24f9 /tools/lib/python | |
| parent | 717b836c27d9a4d5bcaae74fa83f7b3312d45620 (diff) | |
| download | linux-b0ba3108e3f8b20d8631ca4475a1a6d171973651.tar.xz | |
drm/amd/display: Persist stream refcount through restore
[Why & How]
Overwriting the refcount on stream restore can lead to double-free errors
or memory leaks if an unbalanced number of retains and releases occurs
between a backup and restore.
Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Signed-off-by: Ray Wu <ray.wu@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
