-
- Downloads
drm/amdgpu: implement the allocation range (v3)
Pass a ttm_placement pointer to amdgpu_bo_create_restricted add min_offset to amdgpu_bo_pin_restricted. This makes it easier to allocate memory with address restrictions. With this patch we can also enable 2-ended allocation again. v2: fix rebase conflicts v3: memset placements before using Reviewed-by:Jammy Zhou <Jammy.Zhou@amd.com> Signed-off-by:
Chunming Zhou <david1.zhou@amd.com> Reviewed-by:
Alex Deucher <alexander.deucher@amd.com>
Showing
- drivers/gpu/drm/amd/amdgpu/amdgpu.h 4 additions, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu.h
- drivers/gpu/drm/amd/amdgpu/amdgpu_display.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu_display.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_fb.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu_fb.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_object.c 119 additions, 57 deletionsdrivers/gpu/drm/amd/amdgpu/amdgpu_object.c
- drivers/gpu/drm/amd/amdgpu/amdgpu_object.h 8 additions, 1 deletiondrivers/gpu/drm/amd/amdgpu/amdgpu_object.h
- drivers/gpu/drm/amd/amdgpu/dce_v10_0.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/dce_v10_0.c
- drivers/gpu/drm/amd/amdgpu/dce_v11_0.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/dce_v11_0.c
- drivers/gpu/drm/amd/amdgpu/dce_v8_0.c 1 addition, 1 deletiondrivers/gpu/drm/amd/amdgpu/dce_v8_0.c
Loading
Please register or sign in to comment