mirror of
https://gitee.com/bianbu-linux/linux-6.6
synced 2025-07-01 23:53:16 -04:00
platform/x86: intel_scu_ipc: Increase virtual timeout from 3 to 5 seconds
Increasing the virtual timeout time to account for scenarios that may require more time, like DisplayPort Multi-Stream Transport (DP MST), where the disconnect time can be extended longer than usual. The recommended timeout range is 5-10 seconds, of which we will take the lower bound. Signed-off-by: Casey Bowman <casey.g.bowman@intel.com> Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Acked-by: Andy Shevchenko <andy.shevchenko@gmail.com> Link: https://lore.kernel.org/r/20210210192041.17022-1-casey.g.bowman@intel.com Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
86eb98cb4a
commit
a7d53dbbc7
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ struct intel_scu_ipc_dev {
|
||||||
#define IPC_READ_BUFFER 0x90
|
#define IPC_READ_BUFFER 0x90
|
||||||
|
|
||||||
/* Timeout in jiffies */
|
/* Timeout in jiffies */
|
||||||
#define IPC_TIMEOUT (3 * HZ)
|
#define IPC_TIMEOUT (5 * HZ)
|
||||||
|
|
||||||
static struct intel_scu_ipc_dev *ipcdev; /* Only one for now */
|
static struct intel_scu_ipc_dev *ipcdev; /* Only one for now */
|
||||||
static DEFINE_MUTEX(ipclock); /* lock used to prevent multiple call to SCU */
|
static DEFINE_MUTEX(ipclock); /* lock used to prevent multiple call to SCU */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue