aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-07-19 14:07:37 +0100
committerChris Wilson <[email protected]>2019-07-22 21:37:29 +0100
commit04364138ce9bd812e8eeda84febf7259e27ff57d (patch)
tree8a58976ef98a10028b09d8d55b6bf9dda945aa6b /drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c
parent0cc35a9c8279da03c34547830d5140cf38f7ce02 (diff)
drm/i915/gtt: Fix rounding for 36b
The top-level page directory for 36b is a single entry, not multiple like 32b. Fix up the rounding on the calculation of the size of the top level so that we populate the 4th level correctly for 36b. Reported-by: Jose Souza <[email protected]> Signed-off-by: Chris Wilson <[email protected]> Fixes: 1eda701eace2 ("drm/i915/gtt: Recursive cleanup for gen8") Cc: Abdiel Janulgue <[email protected]> Cc: Jose Souza <[email protected]> Tested-by: José Roberto de Souza <[email protected]> Reviewed-by: Abdiel Janulgue <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cgs.c')
0 files changed, 0 insertions, 0 deletions