commit | 4a580877bdcb837e7a3754ae20798dcfccb44e80 | [log] [tgz] |
---|---|---|
author | Luben Tuikov <luben.tuikov@amd.com> | Mon Aug 24 12:29:45 2020 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Aug 24 13:06:06 2020 -0400 |
tree | e04fb07b5d81b68acc53a2222a35789ad43380cf | |
parent | 1348969ab68cb864034ec4fe48a86c157cc4e10d [diff] |
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>