commit | a38693d77576145673a7b3d4d771d992282ad13b | [log] [tgz] |
---|---|---|
author | Oded Gabbay <oded.gabbay@gmail.com> | Sun Apr 28 10:18:35 2019 +0300 |
committer | Oded Gabbay <oded.gabbay@gmail.com> | Sun Apr 28 10:18:35 2019 +0300 |
tree | 7253cb74316b8d9093f7a8cadda464232cf853e0 | |
parent | 027d35d0b6999c02de4c1ef86d0df4b5f4119167 [diff] |
habanalabs: return old dram bar address upon change This patch changes the ASIC interface function that changes the DRAM bar window. The change is to return the old address that the DRAM bar pointed to instead of an error code. This simplifies the code that use this function (mainly in debugfs) to restore the bar to the old setting. This is also needed for easier support in future ASICs. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>