aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorRajneesh Bhardwaj <rajneesh.bhardwaj@amd.com>2022-04-20 09:37:56 -0400
committerAlex Deucher <alexander.deucher@amd.com>2022-08-10 15:41:23 -0400
commitc4c10a68e82b8a03df234ee744acabcc648df270 (patch)
treee50bb0b6545fca1405343a57dee1a86cc31a720f /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parent4e64b529c5b04e7944b41de554ee686ecab00744 (diff)
downloadlinux-c4c10a68e82b8a03df234ee744acabcc648df270.tar.gz
linux-c4c10a68e82b8a03df234ee744acabcc648df270.tar.bz2
linux-c4c10a68e82b8a03df234ee744acabcc648df270.zip
drm/amdgpu: Avoid direct cast to amdgpu_ttm_tt
For typesafety, use container_of() instead of implicit cast from struct ttm_tt to struct amdgpu_ttm_tt. Reviewed-by: Christian König <christian.koenig@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-by: Rajneesh Bhardwaj <rajneesh.bhardwaj@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions