]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: add amdgpu_gtt_node_to_byte_offset helper
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 28 Jan 2026 15:47:01 +0000 (16:47 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 23 Feb 2026 19:16:30 +0000 (14:16 -0500)
commit866eedef4cc6d8e06c1888860ef2b98c8f6aaca4
treeb1cf2d56384786d4c2e32fd70973fbb4281202b0
parent2e88530255e76e11266bcdbb1eaf533e75f95d37
drm/amdgpu: add amdgpu_gtt_node_to_byte_offset helper

Having a helper avoids code duplication.

Signed-off-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@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_ttm.h