lkml.org 
[lkml]   [2019]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC PATCH 3/7] drm/ttm: TTM fault handler helpers
From
Date
On 9/13/19 3:40 PM, Hillf Danton wrote:
> On Fri, 13 Sep 2019 11:32:09 +0200
>> err = ttm_mem_io_lock(man, true);
>> - if (unlikely(err != 0)) {
>> - ret = VM_FAULT_NOPAGE;
>> - goto out_unlock;
>> - }
>> + if (unlikely(err != 0))
>> + return VM_FAULT_NOPAGE;
>> err = ttm_mem_io_reserve_vm(bo);
>> - if (unlikely(err != 0)) {
>> - ret = VM_FAULT_SIGBUS;
>> - goto out_io_unlock;
>> - }
>> + if (unlikely(err != 0))
>> + return VM_FAULT_SIGBUS;
>>
> Hehe, no hurry.

Ah. I get the point :) Yes, I'll update. Haven't been looking at these
patches for a while.

Thanks,

Thomas


\
 
 \ /
  Last update: 2019-09-13 18:25    [W:0.145 / U:1.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site