diff options
author | Luben Tuikov <luben.tuikov@amd.com> | 2020-08-15 03:41:55 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-08-26 23:40:17 +0300 |
commit | 8aba21b75136c39c4bf63345d699d97dc477ce0e (patch) | |
tree | 4f550dc7dcac9ca609178442c355062fe9819d85 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 4a580877bdcb837e7a3754ae20798dcfccb44e80 (diff) | |
download | linux-8aba21b75136c39c4bf63345d699d97dc477ce0e.tar.xz |
drm/amdgpu: Embed drm_device into amdgpu_device (v3)
a) Embed struct drm_device into struct amdgpu_device.
b) Modify the inline-f drm_to_adev() accordingly.
c) Modify the inline-f adev_to_drm() accordingly.
d) Eliminate the use of drm_device.dev_private,
in amdgpu.
e) Switch from using drm_dev_alloc() to
drm_dev_init().
f) Add a DRM driver release function, which frees
the container amdgpu_device after all krefs on
the contained drm_device have been released.
v2: Split out adding adev_to_drm() into its own
patch (previous commit), making this patch
more succinct and clear. More detailed commit
description.
v3: squash in fix to call drmm_add_final_kfree()
to avoid a warning.
Signed-off-by: Luben Tuikov <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions