OSDN Git Service

drm/amdgpu: initialize ttm for doorbells
authorShashank Sharma <shashank.sharma@amd.com>
Fri, 14 Jul 2023 13:15:01 +0000 (15:15 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Aug 2023 21:14:06 +0000 (17:14 -0400)
commit792b84fb903839a241f4dd2df92ea9851f3d2160
tree939749366064d134730a6e8578fbdcdd65c8f4f7
parentdc3499c71d3618130d9c6675e4de1e3562c17125
drm/amdgpu: initialize ttm for doorbells

This patch initialzes the ttm resource manager for doorbells.

V2: Do not round up doorbell size (Alex)

Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian Koenig <christian.koenig@amd.com>
Reviewed-by: Christian Koenig <christian.koenig@amd.com>
Signed-off-by: Shashank Sharma <shashank.sharma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c