diff options
author | 2020-08-24 12:29:45 -0400 | |
---|---|---|
committer | 2020-08-24 13:06:06 -0400 | |
commit | 4a580877bdcb837e7a3754ae20798dcfccb44e80 (patch) | |
tree | e04fb07b5d81b68acc53a2222a35789ad43380cf /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
parent | drm/amdgpu: drm_device to amdgpu_device by inline-f (v2) (diff) | |
download | linux-dev-4a580877bdcb837e7a3754ae20798dcfccb44e80.tar.xz linux-dev-4a580877bdcb837e7a3754ae20798dcfccb44e80.zip |
drm/amdgpu: Get DRM dev from adev by inline-f
Add a static inline adev_to_drm() to obtain
the DRM device pointer from an amdgpu_device pointer.
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions