diff options
| author | Melissa Wen <[email protected]> | 2021-04-24 05:23:27 -0300 |
|---|---|---|
| committer | Melissa Wen <[email protected]> | 2021-04-29 18:44:43 -0300 |
| commit | 2f56dd8c77c8c24420d2791c39816e2cfb08bef5 (patch) | |
| tree | aa6718590475f12a1cb33927a8c658c50bd7b24f /tools/perf/scripts/python | |
| parent | 19d327a31a6965644b7c401aac4cf8a2e606d70f (diff) | |
drm/vkms: init plane using drmm_universal_plane_alloc
By using drmm_universal_plane_alloc instead of
drm_universal_plane_init, we let the DRM infrastructure handles
resource allocation and cleanup. We can also get rid of some
code repetitions for plane cleanup, improving code maintainability
in vkms.
Signed-off-by: Melissa Wen <[email protected]>
Reviewed-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/3bbdabed0274d2d0917d1b829dd16f13d7b495f5.1619250933.git.melissa.srw@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions