- Notifications
You must be signed in to change notification settings - Fork113
Commitc191515
committed
drm/amdgpu: Query P2PDMA distance only if CONFIG_HSA_AMD_P2P is defined
CONFIG_HSA_AMD_P2P indicates the requirements that are needed for P2P DMAMappings. It is important to note that enabling CONFIG_HSA_AMD_P2P is anecessary but insufficient condition. It is possible to encounter runtimeerrors - e.g. CPU's do not support Inter-CPU transport of PCIe transactionpackets i.e. P2PDMA distance API may return errorSigned-off-by: Ramesh Errabolu <Ramesh.Errabolu@amd.com>Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>1 parent437f02c commitc191515
1 file changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5577 | 5577 | | |
5578 | 5578 | | |
5579 | 5579 | | |
| 5580 | + | |
| 5581 | + | |
| 5582 | + | |
| 5583 | + | |
| 5584 | + | |
| 5585 | + | |
5580 | 5586 | | |
5581 | 5587 | | |
5582 | 5588 | | |
| |||
5587 | 5593 | | |
5588 | 5594 | | |
5589 | 5595 | | |
5590 | | - | |
| 5596 | + | |
5591 | 5597 | | |
5592 | 5598 | | |
5593 | 5599 | | |
| |||
0 commit comments
Comments
(0)