mirror of
https://github.com/NVIDIA/open-gpu-kernel-modules.git
synced 2026-01-27 11:39:46 +00:00
580.65.06
This commit is contained in:
@@ -174,8 +174,13 @@ static uvm_aperture_t get_fault_inst_aperture(NvU32 *fault_entry)
|
||||
{
|
||||
case NVB069_FAULT_BUF_ENTRY_INST_APERTURE_VID_MEM:
|
||||
return UVM_APERTURE_VID;
|
||||
case NVB069_FAULT_BUF_ENTRY_INST_APERTURE_SYS_MEM_COHERENT:
|
||||
case NVB069_FAULT_BUF_ENTRY_INST_APERTURE_SYS_MEM_NONCOHERENT:
|
||||
// UVM does not use SYS_NON_COHERENT aperture for sysmem addresses
|
||||
// but RM might. The value returned here denotes sysmem location
|
||||
// to UVM so it's safe to return UVM_APERTURE_SYS even for
|
||||
// SYS_MEM_NONCOHERENT.
|
||||
/* falls through */
|
||||
case NVB069_FAULT_BUF_ENTRY_INST_APERTURE_SYS_MEM_COHERENT:
|
||||
return UVM_APERTURE_SYS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user