mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
crypto: qat - change value of default idle filter
[ Upstream commit0f942bdfe9] The power management configuration of 4xxx devices is too aggressive and in some conditions the device might be prematurely put to a low power state. Increase the idle filter value to prevent that. In future, this will be set by firmware. Fixes:e5745f3411("crypto: qat - enable power management for QAT GEN4") Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Reviewed-by: Damian Muszynski <damian.muszynski@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
912310dd84
commit
01964c6308
@@ -35,7 +35,7 @@
|
||||
#define ADF_GEN4_PM_MSG_PENDING BIT(0)
|
||||
#define ADF_GEN4_PM_MSG_PAYLOAD_BIT_MASK GENMASK(28, 1)
|
||||
|
||||
#define ADF_GEN4_PM_DEFAULT_IDLE_FILTER (0x0)
|
||||
#define ADF_GEN4_PM_DEFAULT_IDLE_FILTER (0x6)
|
||||
#define ADF_GEN4_PM_MAX_IDLE_FILTER (0x7)
|
||||
|
||||
int adf_gen4_enable_pm(struct adf_accel_dev *accel_dev);
|
||||
|
||||
Reference in New Issue
Block a user