summaryrefslogtreecommitdiffstats
path: root/drivers/misc/habanalabs/sysfs.c
diff options
context:
space:
mode:
authorOded Gabbay <oded.gabbay@gmail.com>2019-07-30 11:48:02 +0300
committerOded Gabbay <oded.gabbay@gmail.com>2019-09-05 14:55:26 +0300
commit02e921e42b277c632ebdce355cc22d145944e968 (patch)
tree70a636d959d1b91f2bbabf82f87a0a5bac56dd38 /drivers/misc/habanalabs/sysfs.c
parent4aecb05e526a421bff2bf4feeda7687efa74333e (diff)
downloadlinux-stable-02e921e42b277c632ebdce355cc22d145944e968.tar.gz
linux-stable-02e921e42b277c632ebdce355cc22d145944e968.tar.bz2
linux-stable-02e921e42b277c632ebdce355cc22d145944e968.zip
habanalabs: show the process context dram usage
When the user query the dram usage of a context, show it the dram usage of its context, not the user context that is currently running on the device. This has no effect right now as we only have a single process and a single context, but this makes the code more ready for multiple process support. Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/habanalabs/sysfs.c')
0 files changed, 0 insertions, 0 deletions