1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/amd/pm
Luben Tuikov 1348969ab6 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 <luben.tuikov@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2020-08-24 13:06:06 -04:00
..
inc drm/amd/pm: add SMU11 common deep sleep control interface 2020-08-18 18:21:56 -04:00
powerplay drm/amd/pm: Remove unnecessary cast 2020-08-24 12:23:29 -04:00
swsmu drm/amd/pm: set VCN pg per instances 2020-08-24 13:06:05 -04:00
amdgpu_dpm.c drm/amdgpu: drop log message in amdgpu_dpm_baco_reset() 2020-08-14 17:03:20 -04:00
amdgpu_pm.c drm/amdgpu: drm_device to amdgpu_device by inline-f (v2) 2020-08-24 13:06:06 -04:00
Makefile