diff options
author | Souptick Joarder <jrdr.linux@gmail.com> | 2018-06-02 00:57:24 +0530 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-06-19 13:17:38 -0500 |
commit | 4daa4fba3a3899a3eefff26e38cf680661a931e4 (patch) | |
tree | bfb7ebc85edd2bc6fde6023395ccccb31e4d6888 /drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c | |
parent | 2bfb0b678e48dee76543bfa2079b7e42609332fb (diff) | |
download | linux-4daa4fba3a3899a3eefff26e38cf680661a931e4.tar.gz linux-4daa4fba3a3899a3eefff26e38cf680661a931e4.tar.bz2 linux-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 <jrdr.linux@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c')
0 files changed, 0 insertions, 0 deletions