diff options
| author | Mario Limonciello <mario.limonciello@amd.com> | 2025-02-17 22:58:31 -0600 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2025-03-05 10:41:25 -0500 |
| commit | e3bc320c4b0e1c2f45d00b917c27e474c90dcd9f (patch) | |
| tree | aa089bf527deea1ae0f23ea913cd8a2c1e2bd00b /tools/perf/scripts/python/gecko.py | |
| parent | 3cf7a0bc87f028b6bc63a43a80d9d6026ae4d85f (diff) | |
drm/amd/display: Use _free() macro for amdgpu_dm_commit_zero_streams()
All cases except a failure to create a copy of the current context will
call dc_state_release() on the copied context.
Use a _free() macro to free the context and then adjust the error handling
flow to drop the unnecessary use of goto statements.
Reviewed-by: Alex Hung <alex.hung@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions
