summaryrefslogtreecommitdiff
path: root/drivers/misc/habanalabs/common/sysfs.c
diff options
context:
space:
mode:
authorRajaravi Krishna Katta <rkatta@habana.ai>2021-10-26 14:11:06 +0300
committerOded Gabbay <ogabbay@kernel.org>2021-12-26 09:59:04 +0300
commite84e31a9123bda35a1e61f391e7c30e8b3a8ea5b (patch)
tree231c5adaad1ba14cd4ba259bda0e3ea2c0e6212d /drivers/misc/habanalabs/common/sysfs.c
parent138858226414bd026e63acebb7540093c97c69fd (diff)
downloadlinux-e84e31a9123bda35a1e61f391e7c30e8b3a8ea5b.tar.xz
habanalabs: add dedicated message towards f/w to set power
CPUCP_PACKET_POWER_GET packet type was used for both hl_get_power() and hl_set_power(). To align with other sensor functions hl_set_power() should use CPUCP_PACKET_POWER_SET. This packet will only be used with newer ASICs, so need to add a compatibility flag to the asic properties to indicate whether to use this packet or the GET packet. Signed-off-by: Rajaravi Krishna Katta <rkatta@habana.ai> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Diffstat (limited to 'drivers/misc/habanalabs/common/sysfs.c')
0 files changed, 0 insertions, 0 deletions