Searched hist:d43bce6e762f25b25685487630510452feaf7362 (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | command_submission.c | diff d43bce6e762f25b25685487630510452feaf7362 Wed Jan 18 09:35:17 CST 2023 Tomer Tayar <ttayar@habana.ai> accel/habanalabs: add info when FD released while device still in use
When user closes the device file descriptor, it is checked whether the device is still in use, and a message is printed if it is. To make this message more informative, add to this print also the reason due to which the device is considered as in use. The possible reasons which are checked for now are active CS and exported dma-buf.
Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
|
H A D | memory.c | diff d43bce6e762f25b25685487630510452feaf7362 Wed Jan 18 09:35:17 CST 2023 Tomer Tayar <ttayar@habana.ai> accel/habanalabs: add info when FD released while device still in use
When user closes the device file descriptor, it is checked whether the device is still in use, and a message is printed if it is. To make this message more informative, add to this print also the reason due to which the device is considered as in use. The possible reasons which are checked for now are active CS and exported dma-buf.
Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
|
H A D | device.c | diff d43bce6e762f25b25685487630510452feaf7362 Wed Jan 18 09:35:17 CST 2023 Tomer Tayar <ttayar@habana.ai> accel/habanalabs: add info when FD released while device still in use
When user closes the device file descriptor, it is checked whether the device is still in use, and a message is printed if it is. To make this message more informative, add to this print also the reason due to which the device is considered as in use. The possible reasons which are checked for now are active CS and exported dma-buf.
Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
|
H A D | habanalabs.h | diff d43bce6e762f25b25685487630510452feaf7362 Wed Jan 18 09:35:17 CST 2023 Tomer Tayar <ttayar@habana.ai> accel/habanalabs: add info when FD released while device still in use
When user closes the device file descriptor, it is checked whether the device is still in use, and a message is printed if it is. To make this message more informative, add to this print also the reason due to which the device is considered as in use. The possible reasons which are checked for now are active CS and exported dma-buf.
Signed-off-by: Tomer Tayar <ttayar@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org> Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
|