diff options
| author | Luben Tuikov <[email protected]> | 2020-08-24 16:27:47 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2020-08-24 17:06:06 +0000 |
| commit | 1348969ab68cb864034ec4fe48a86c157cc4e10d (patch) | |
| tree | 004ac0060e3e546d4cea65f93c633e16f17366af /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
| parent | drm/amdgpu: enable HDP clock gatting (diff) | |
| download | kernel-1348969ab68cb864034ec4fe48a86c157cc4e10d.tar.gz kernel-1348969ab68cb864034ec4fe48a86c157cc4e10d.zip | |
drm/amdgpu: drm_device to amdgpu_device by inline-f (v2)
Get the amdgpu_device from the DRM device by use
of an inline function, drm_to_adev(). The inline
function resolves a pointer to struct drm_device
to a pointer to struct amdgpu_device.
v2: Use a typed visible static inline function
instead of an invisible macro.
Signed-off-by: Luben Tuikov <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
0 files changed, 0 insertions, 0 deletions
