habanalabs: power management through sysfs is only for GOYA
authorOded Gabbay <oded.gabbay@gmail.com>
Thu, 4 Jul 2019 08:57:12 +0000 (11:57 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Thu, 5 Sep 2019 11:55:26 +0000 (14:55 +0300)
commit209257feabb595f88cfd3137cd53dfd675d27f46
tree56ab0e14c998e3121fc949cf437d41860565d3d7
parented0fc50535ee32ce6a09f4eca84b6ac1a3b1064f
habanalabs: power management through sysfs is only for GOYA

The ability of setting power management properties by the system
administrator (through sysfs properties) is only relevant for the GOYA
ASIC. Therefore, move the relevant sysfs properties to the GOYA sysfs
specific file, to make the properties appear in sysfs only for GOYA cards.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Reviewed-by: Omer Shpigelman <oshpigelman@habana.ai>
Documentation/ABI/testing/sysfs-driver-habanalabs
drivers/misc/habanalabs/goya/goya_hwmgr.c
drivers/misc/habanalabs/sysfs.c