[PATCH] staging: ion: Fix ion_cma_heap allocations

2017-12-08 Thread John Stultz
In trying to add support for drm_hwcomposer to HiKey, I've needed to utilize the ION CMA heap, and I've noticed problems with allocations on newer kernels failing. It seems back with 204f672255c2 ("ion: Use CMA APIs directly"), the ion_cma_heap code was modified to use the CMA API, but kept the

[PATCH] staging: ion: Fix ion_cma_heap allocations

2017-12-08 Thread John Stultz
In trying to add support for drm_hwcomposer to HiKey, I've needed to utilize the ION CMA heap, and I've noticed problems with allocations on newer kernels failing. It seems back with 204f672255c2 ("ion: Use CMA APIs directly"), the ion_cma_heap code was modified to use the CMA API, but kept the

Re: [RFC][PATCH] staging: ion: Fix ion_cma_heap allocations

2017-12-07 Thread John Stultz
On Thu, Dec 7, 2017 at 4:55 PM, Laura Abbott wrote: > On 12/07/2017 03:42 PM, John Stultz wrote: >> >> In trying to add support for drm_hwcomposer to HiKey, >> I've needed to utilize the ION CMA heap, and I've noticed >> problems with allocations on newer kernels failing. >>

Re: [RFC][PATCH] staging: ion: Fix ion_cma_heap allocations

2017-12-07 Thread John Stultz
On Thu, Dec 7, 2017 at 4:55 PM, Laura Abbott wrote: > On 12/07/2017 03:42 PM, John Stultz wrote: >> >> In trying to add support for drm_hwcomposer to HiKey, >> I've needed to utilize the ION CMA heap, and I've noticed >> problems with allocations on newer kernels failing. >> >> It seems back with

Re: [RFC][PATCH] staging: ion: Fix ion_cma_heap allocations

2017-12-07 Thread Laura Abbott
On 12/07/2017 03:42 PM, John Stultz wrote: In trying to add support for drm_hwcomposer to HiKey, I've needed to utilize the ION CMA heap, and I've noticed problems with allocations on newer kernels failing. It seems back with 204f672255c22 ("ion: Use CMA APIs directly"), the ion_cma_heap code

Re: [RFC][PATCH] staging: ion: Fix ion_cma_heap allocations

2017-12-07 Thread Laura Abbott
On 12/07/2017 03:42 PM, John Stultz wrote: In trying to add support for drm_hwcomposer to HiKey, I've needed to utilize the ION CMA heap, and I've noticed problems with allocations on newer kernels failing. It seems back with 204f672255c22 ("ion: Use CMA APIs directly"), the ion_cma_heap code

[RFC][PATCH] staging: ion: Fix ion_cma_heap allocations

2017-12-07 Thread John Stultz
In trying to add support for drm_hwcomposer to HiKey, I've needed to utilize the ION CMA heap, and I've noticed problems with allocations on newer kernels failing. It seems back with 204f672255c22 ("ion: Use CMA APIs directly"), the ion_cma_heap code was modified to use the CMA API, but kept the

[RFC][PATCH] staging: ion: Fix ion_cma_heap allocations

2017-12-07 Thread John Stultz
In trying to add support for drm_hwcomposer to HiKey, I've needed to utilize the ION CMA heap, and I've noticed problems with allocations on newer kernels failing. It seems back with 204f672255c22 ("ion: Use CMA APIs directly"), the ion_cma_heap code was modified to use the CMA API, but kept the