]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
habanalabs: set PM profile to auto only for goya
authorOded Gabbay <oded.gabbay@gmail.com>
Sat, 9 May 2020 09:18:26 +0000 (12:18 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Tue, 19 May 2020 11:48:41 +0000 (14:48 +0300)
commit803917f960c2a34d16fb0aa6debb80fed59a58b7
tree882413ca5eeb3560a7db7fe02cd25b24e5133dd0
parente09498b078f85bbad8eccb665786bea847af93d4
habanalabs: set PM profile to auto only for goya

For Gaudi, the driver doesn't change the PM profile automatically due to
device-controlled PM capabilities. Therefore, set the PM profile to auto
only for Goya so the driver's code to automatically change the profile
won't run on Gaudi.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/sysfs.c