diff options
author | Oded Gabbay <oded.gabbay@gmail.com> | 2019-04-28 09:18:35 +0200 |
---|---|---|
committer | Oded Gabbay <oded.gabbay@gmail.com> | 2019-04-28 09:18:35 +0200 |
commit | a38693d77576145673a7b3d4d771d992282ad13b (patch) | |
tree | 7253cb74316b8d9093f7a8cadda464232cf853e0 /drivers/misc/c2port | |
parent | habanalabs: rename restore to ctx_switch when appropriate (diff) | |
download | linux-a38693d77576145673a7b3d4d771d992282ad13b.tar.xz linux-a38693d77576145673a7b3d4d771d992282ad13b.zip |
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>
Diffstat (limited to 'drivers/misc/c2port')
0 files changed, 0 insertions, 0 deletions