]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Move amdgpu_device_check_iommu_direct_map() earlier
authorPhilip Yang <Philip.Yang@amd.com>
Mon, 20 Apr 2026 12:51:09 +0000 (08:51 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 28 Apr 2026 18:31:09 +0000 (14:31 -0400)
commitac6ea84a9b5f62f19fdcb0bf77fd144556c0c91c
tree9946adcbef7edd3f61dcc9d37f818049671c64db
parent7f19097af1496dd908a044ca95862f32d05f02df
drm/amdgpu: Move amdgpu_device_check_iommu_direct_map() earlier

So device init ram_is_direct_mapped is available when gmc_funcs are selected
during IP early init.

Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c