diff options
| author | Souptick Joarder <[email protected]> | 2018-06-01 19:27:24 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2018-06-19 18:17:38 +0000 |
| commit | 4daa4fba3a3899a3eefff26e38cf680661a931e4 (patch) | |
| tree | bfb7ebc85edd2bc6fde6023395ccccb31e4d6888 /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
| parent | gpu: drm: radeon: Adding new typedef vm_fault_t (diff) | |
| download | kernel-4daa4fba3a3899a3eefff26e38cf680661a931e4.tar.gz kernel-4daa4fba3a3899a3eefff26e38cf680661a931e4.zip | |
gpu: drm: ttm: Adding new return type vm_fault_t
Use new return type vm_fault_t for fault handler. For
now, this is just documenting that the function returns
a VM_FAULT value rather than an errno. Once all instances
are converted, vm_fault_t will become a distinct type.
Ref-> commit 1c8f422059ae ("mm: change return type to vm_fault_t")
Previously vm_insert_{mixed,pfn} returns err which driver
mapped into VM_FAULT_* type. The new function
vmf_insert_{mixed,pfn} will replace this inefficiency by
returning VM_FAULT_* type.
Signed-off-by: Souptick Joarder <[email protected]>
Reviewed-by: Christian König <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions
