Displaying 2 results from an estimated 2 matches for "ttm_sg_tt_init".
2018 Mar 05
0
[PATCH 4/5] drm/ttm: add ttm_sg_tt_init
... INIT_LIST_HEAD(&ttm_dma->pages_list);
>> if (ttm_dma_tt_alloc_page_directory(ttm_dma)) {
>> @@ -275,11 +286,36 @@ int ttm_dma_tt_init(struct ttm_dma_tt *ttm_dma,
>> struct ttm_bo_device *bdev,
>> }
>> EXPORT_SYMBOL(ttm_dma_tt_init);
>> +int ttm_sg_tt_init(struct ttm_dma_tt *ttm_dma, struct
>> ttm_bo_device *bdev,
>> + unsigned long size, uint32_t page_flags)
>> +{
>> + struct ttm_tt *ttm = &ttm_dma->ttm;
>> + int ret;
>> +
>> + ttm_tt_init_fields(ttm, bdev, size, page_flags);
>&...
2018 Feb 27
4
[PATCH 4/5] drm/ttm: add ttm_sg_tt_init
...page_flags);
>
> INIT_LIST_HEAD(&ttm_dma->pages_list);
> if (ttm_dma_tt_alloc_page_directory(ttm_dma)) {
> @@ -275,11 +286,36 @@ int ttm_dma_tt_init(struct ttm_dma_tt *ttm_dma, struct ttm_bo_device *bdev,
> }
> EXPORT_SYMBOL(ttm_dma_tt_init);
>
> +int ttm_sg_tt_init(struct ttm_dma_tt *ttm_dma, struct ttm_bo_device *bdev,
> + unsigned long size, uint32_t page_flags)
> +{
> + struct ttm_tt *ttm = &ttm_dma->ttm;
> + int ret;
> +
> + ttm_tt_init_fields(ttm, bdev, size, page_flags);
> +
> + INIT_LIST_HEAD(&ttm_dma->pages_li...