diff options
| author | Chris Wilson <[email protected]> | 2019-07-19 14:07:37 +0100 | 
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-07-22 21:37:29 +0100 | 
| commit | 04364138ce9bd812e8eeda84febf7259e27ff57d (patch) | |
| tree | 8a58976ef98a10028b09d8d55b6bf9dda945aa6b /drivers/gpu/drm/amd/amdgpu/amdgpu_connectors.c | |
| parent | 0cc35a9c8279da03c34547830d5140cf38f7ce02 (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_connectors.c')
0 files changed, 0 insertions, 0 deletions