drm/amdgpu: Align amdgpu_gtt_mgr entries to TLB size on Tahiti (v2)
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 13 May 2026 20:04:08 +0000 (22:04 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 18 May 2026 22:15:41 +0000 (18:15 -0400)
commit530411b465ef0b2c0cc18c2e3d7e38422b1117d1
tree0f4ff61bc0cdf1916bffb7d1d13c45ece2873534
parent7ef144458f48d5589e36f1b3d83e83db2e5c5ba5
drm/amdgpu: Align amdgpu_gtt_mgr entries to TLB size on Tahiti (v2)

The TLB is organized in groups of 8 entries, each one is 4K.
On Tahiti, the HW requires these GART entries to be 32K-aligned.

This fixes a VCE 1 firmware validation failure that can happen
after suspend/resume since we use amdgpu_gtt_mgr for VCE 1.

v2:
- Change variable declaration order
- Add comment about "V bit HW bug"

Fixes: 698fa62f56aa ("drm/amdgpu: Add helper to alloc GART entries")
Signed-off-by: Timur Kristóf <timur.kristof@gmail.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_gtt_mgr.c