Displaying 2 results from an estimated 2 matches for "ttm_tt_init_fields".
2018 Feb 27
4
[PATCH 4/5] drm/ttm: add ttm_sg_tt_init
...*p,
>   					  enum ttm_caching_state c_old,
> @@ -227,8 +237,8 @@ void ttm_tt_destroy(struct ttm_tt *ttm)
>   	ttm->func->destroy(ttm);
>   }
>   
> -int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
> -		unsigned long size, uint32_t page_flags)
> +void ttm_tt_init_fields(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
> +			unsigned long size, uint32_t page_flags)
>   {
>   	ttm->bdev = bdev;
>   	ttm->num_pages = (size + PAGE_SIZE - 1) >> PAGE_SHIFT;
> @@ -236,6 +246,12 @@ int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
&...
2018 Mar 05
0
[PATCH 4/5] drm/ttm: add ttm_sg_tt_init
..._caching_state c_old,
>> @@ -227,8 +237,8 @@ void ttm_tt_destroy(struct ttm_tt *ttm)
>>       ttm->func->destroy(ttm);
>>   }
>>   -int ttm_tt_init(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
>> -        unsigned long size, uint32_t page_flags)
>> +void ttm_tt_init_fields(struct ttm_tt *ttm, struct ttm_bo_device *bdev,
>> +            unsigned long size, uint32_t page_flags)
>>   {
>>       ttm->bdev = bdev;
>>       ttm->num_pages = (size + PAGE_SIZE - 1) >> PAGE_SHIFT;
>> @@ -236,6 +246,12 @@ int ttm_tt_init(struct ttm_tt...