Commit 2abaa32
drm/amd/display: Free atomic state after drm_atomic_commit
[why]
drm_atomic_commit was changed so that the caller must free their
drm_atomic_state reference on successes.
[how]
Add drm_atomic_commit_put after drm_atomic_commit call in
dm_force_atomic_commit.
Signed-off-by: Victor Lu <[email protected]>
Reviewed-by: Roman Li <[email protected]>
Acked-by: Anson Jacob <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>1 parent 3ddc818 commit 2abaa32
1 file changed
Lines changed: 6 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8354 | 8354 | | |
8355 | 8355 | | |
8356 | 8356 | | |
8357 | | - | |
| 8357 | + | |
8358 | 8358 | | |
8359 | 8359 | | |
8360 | 8360 | | |
8361 | 8361 | | |
8362 | 8362 | | |
8363 | 8363 | | |
8364 | | - | |
| 8364 | + | |
8365 | 8365 | | |
8366 | 8366 | | |
8367 | 8367 | | |
| |||
8371 | 8371 | | |
8372 | 8372 | | |
8373 | 8373 | | |
8374 | | - | |
8375 | | - | |
| 8374 | + | |
8376 | 8375 | | |
8377 | 8376 | | |
8378 | 8377 | | |
8379 | | - | |
8380 | | - | |
8381 | 8378 | | |
8382 | | - | |
8383 | | - | |
| 8379 | + | |
8384 | 8380 | | |
| 8381 | + | |
| 8382 | + | |
8385 | 8383 | | |
8386 | 8384 | | |
8387 | 8385 | | |
| |||
0 commit comments