diff options
author | 2021-04-24 05:23:27 -0300 | |
---|---|---|
committer | 2021-04-29 18:44:43 -0300 | |
commit | 2f56dd8c77c8c24420d2791c39816e2cfb08bef5 (patch) | |
tree | aa6718590475f12a1cb33927a8c658c50bd7b24f /drivers/gpu/drm/i915/display/intel_dp_mst.c | |
parent | drm: Move struct drm_device.pdev to legacy section (diff) | |
download | wireguard-linux-2f56dd8c77c8c24420d2791c39816e2cfb08bef5.tar.xz wireguard-linux-2f56dd8c77c8c24420d2791c39816e2cfb08bef5.zip |
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 <melissa.srw@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/3bbdabed0274d2d0917d1b829dd16f13d7b495f5.1619250933.git.melissa.srw@gmail.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_dp_mst.c')
0 files changed, 0 insertions, 0 deletions