diff options
| author | Christian König <[email protected]> | 2017-12-04 10:26:14 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-12-06 17:48:32 +0000 |
| commit | ae937fe19636067ec5e20d7f1fa10c6cc6000b52 (patch) | |
| tree | edb64fd14fe0345bf11dba7bbd39b06ce935a6ae /drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c | |
| parent | drm/amdgpu: fix amdgpu_sync_resv v2 (diff) | |
| download | kernel-ae937fe19636067ec5e20d7f1fa10c6cc6000b52.tar.gz kernel-ae937fe19636067ec5e20d7f1fa10c6cc6000b52.zip | |
drm/ttm: swap consecutive allocated pooled pages v4
When we detect consecutive allocation of pages swap them to avoid
accidentally freeing them as huge page.
v2: use swap
v3: check if it's really the first allocated page
v4: don't touch the loop variable
Signed-off-by: Christian König <[email protected]>
Reviewed-by: Roger He <[email protected]>
Reviewed-by: Michel Dänzer <[email protected]>
Tested-by: Dieter Nützel <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c')
0 files changed, 0 insertions, 0 deletions
