[PATCH 0/1] Convert to using devm_drm_dev_alloc() (v2)

Luben Tuikov luben.tuikov at amd.com
Thu Sep 17 22:13:23 UTC 2020


This is based on top of Daniel's documentation
patch and it applies cleanly onto amd-staging-drm-next.
I'm also running this live.

This version removes explicit drm_dev_put(), as it seems
that devres acts as a garbage collector.

Luben Tuikov (1):
  drm/amdgpu: Convert to using devm_drm_dev_alloc() (v2)

 drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | 16 ++++------------
 1 file changed, 4 insertions(+), 12 deletions(-)

-- 
2.28.0.394.ge197136389



More information about the amd-gfx mailing list