projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b1d5c4
)
drm/amdgpu: allow fragment processing for invalid PTEs
author
Christian König
<
[email protected]
>
Fri, 7 Sep 2018 18:34:17 +0000
(20:34 +0200)
committer
Alex Deucher
<
[email protected]
>
Thu, 13 Sep 2018 20:14:11 +0000
(15:14 -0500)
That should improve the PRT performance on Vega quite a bit.
Signed-off-by: Christian König <
[email protected]
>
Reviewed-by: Felix Kuehling <
[email protected]
>
Reviewed-by: Huang Rui <
[email protected]
>
Acked-by: Junwei Zhang <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
index 2d2d6197c3dcc3128d22939b8c7b246f6f72f754..dd5a0cdd67bc0319be56fa3f0dba46b2c9993eb0 100644
(file)
--- a/
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
+++ b/
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
@@
-1552,7
+1552,7
@@
static void amdgpu_vm_fragment(struct amdgpu_pte_update_params *params,
max_frag = 31;
/* system pages are non continuously */
- if (params->src
|| !(flags & AMDGPU_PTE_VALID)
) {
+ if (params->src) {
*frag = 0;
*frag_end = end;
return;