diff options
author | Reza Arbab <arbab@linux.ibm.com> | 2018-08-01 15:01:18 -0500 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2018-08-06 03:00:59 -0500 |
commit | 736d8b150f8611af0c4d0bdf6b3273a7a0e2b1c2 (patch) | |
tree | 68751308d7b6057b0df524f06ea16c2ded4078e1 /include/vpd.h | |
parent | f43465a0ac6da0e2f120c227e103497cb35cc8c4 (diff) | |
download | skiboot-736d8b150f8611af0c4d0bdf6b3273a7a0e2b1c2.zip skiboot-736d8b150f8611af0c4d0bdf6b3273a7a0e2b1c2.tar.gz skiboot-736d8b150f8611af0c4d0bdf6b3273a7a0e2b1c2.tar.bz2 |
npu2: Add support for relaxed-ordering mode
Some device drivers support out of order access to GPU memory. This does
not affect the CPU view of memory but it does affect the GPU view of
memory. It should only be enabled if the GPU driver has requested it.
Add OPAL APIs allowing the driver to query relaxed ordering state or
request it to be set for a device. Current hardware only allows relaxed
ordering to be enabled per PCIe root port. So the code here doesn't
enable relaxed ordering until it has been explicitly requested for every
device on the port.
Signed-off-by: Alistair Popple <alistair@popple.id.au>
[arbab@linux.ibm.com: Rebase/refactor original changes]
Signed-off-by: Reza Arbab <arbab@linux.ibm.com>
Reviewed-By: Alistair Popple <alistair@popple.id.au>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'include/vpd.h')
0 files changed, 0 insertions, 0 deletions