linux_dsm_epyc7002/include/linux/fpga
Alan Tull ebf877a51a fpga: mgr: separate getting/locking FPGA manager
Previously when the user gets a FPGA manager, it was locked
and nobody else could use it for programming.

This commit makes it straightforward to save a reference to an
FPGA manager and only lock it when programming the FPGA.

Add functions that get an FPGA manager's mutex for exclusive use:
* fpga_mgr_lock
* fpga_mgr_unlock

The following functions no longer lock an FPGA manager's mutex:
* of_fpga_mgr_get
* fpga_mgr_get
* fpga_mgr_put

Signed-off-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-11-28 16:30:37 +01:00
..
altera-pr-ip-core.h fpga pr ip: Core driver support for Altera Partial Reconfiguration IP. 2017-04-08 17:45:28 +02:00
fpga-bridge.h fpga: bridge: support getting bridge from device 2017-11-28 16:30:36 +01:00
fpga-mgr.h fpga: mgr: separate getting/locking FPGA manager 2017-11-28 16:30:37 +01:00