RE: [PATCH 1/2] drm/amdgpu: add functions to create bo at the specified position

2017-09-29 Thread Chen, Horace
org Cc: Deucher, Alexander <alexander.deuc...@amd.com> Subject: Re: [PATCH 1/2] drm/amdgpu: add functions to create bo at the specified position NAK, please use the existing functionality for that. Using amdgpu_bo_do_create() with domain=0 will just create the amdgpu_bo structure without al

Re: [PATCH 1/2] drm/amdgpu: add functions to create bo at the specified position

2017-09-28 Thread Christian König
NAK, please use the existing functionality for that. Using amdgpu_bo_do_create() with domain=0 will just create the amdgpu_bo structure without allocating any backing memory. This BO can then pinned to the desired VRAM location using amdgpu_bo_pin(). Regards, Christian. Am 28.09.2017 um

[PATCH 1/2] drm/amdgpu: add functions to create bo at the specified position

2017-09-28 Thread Horace Chen
Add two function to create and free bo at the specified position on the VRAM. Add a new parameter to amdgpu_bo_do_create to tell the start address of the special bo. If the start address is located in the GPU MC address space, the placement will be set to the exact place according to the size and