mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 01:50:07 +03:00
gpu: nvgpu: unmapped ptes handling
Correct logic for supporting unmapped ptes during gmmu map. Bug 1587825 Change-Id: I1b0b603f7758a65d9666046d0d908663f8e460e3 Signed-off-by: Seshendra Gadagottu <sgadagottu@nvidia.com> Reviewed-on: http://git-master/r/796577 Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com> Tested-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/759345 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit
This commit is contained in:
committed by
Terje Bergstrom
parent
ad113cf0a5
commit
0c244987d2
@@ -2227,13 +2227,12 @@ static int update_gmmu_pte_locked(struct vm_gk20a *vm,
|
|||||||
if (!cacheable)
|
if (!cacheable)
|
||||||
pte_w[1] |=
|
pte_w[1] |=
|
||||||
gmmu_pte_vol_true_f();
|
gmmu_pte_vol_true_f();
|
||||||
else {
|
} else {
|
||||||
/* Store cachable value behind
|
/* Store cacheable value behind
|
||||||
* gmmu_pte_write_disable_true_f */
|
* gmmu_pte_write_disable_true_f */
|
||||||
if (!cacheable)
|
if (!cacheable)
|
||||||
pte_w[1] |=
|
pte_w[1] |=
|
||||||
gmmu_pte_write_disable_true_f();
|
gmmu_pte_write_disable_true_f();
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
gk20a_dbg(gpu_dbg_pte,
|
gk20a_dbg(gpu_dbg_pte,
|
||||||
|
|||||||
Reference in New Issue
Block a user