Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/dist/drm/i915/display i915: Raise gmbu...
details: https://anonhg.NetBSD.org/src/rev/ddd5ff634655
branches: trunk
changeset: 366356:ddd5ff634655
user: riastradh <riastradh%NetBSD.org@localhost>
date: Sun May 22 20:35:20 2022 +0000
description:
i915: Raise gmbus_wait timeout from 10ms to 50ms to match upstream.
diffstat:
sys/external/bsd/drm2/dist/drm/i915/display/intel_gmbus.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 34a057cfe2c8 -r ddd5ff634655 sys/external/bsd/drm2/dist/drm/i915/display/intel_gmbus.c
--- a/sys/external/bsd/drm2/dist/drm/i915/display/intel_gmbus.c Sun May 22 19:41:49 2022 +0000
+++ b/sys/external/bsd/drm2/dist/drm/i915/display/intel_gmbus.c Sun May 22 20:35:20 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: intel_gmbus.c,v 1.5 2022/05/22 18:41:22 riastradh Exp $ */
+/* $NetBSD: intel_gmbus.c,v 1.6 2022/05/22 20:35:20 riastradh Exp $ */
/*
* Copyright (c) 2006 Dave Airlie <airlied%linux.ie@localhost>
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: intel_gmbus.c,v 1.5 2022/05/22 18:41:22 riastradh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: intel_gmbus.c,v 1.6 2022/05/22 20:35:20 riastradh Exp $");
#include <linux/export.h>
#include <linux/i2c-algo-bit.h>
@@ -351,7 +351,7 @@
status |= GMBUS_SATOER;
if (!irq_en) {
- unsigned timeout = 10*1000;
+ unsigned timeout = 50*1000;
ret = 0;
while ((gmbus2 = intel_uncore_read_fw(&dev_priv->uncore,
@@ -366,7 +366,7 @@
DRM_SPIN_TIMED_WAIT_NOINTR_UNTIL(ret,
&dev_priv->gmbus_wait_queue,
&dev_priv->gmbus_wait_lock,
- msecs_to_jiffies_timeout(10),
+ msecs_to_jiffies_timeout(50),
(((gmbus2 = intel_uncore_read_fw(&dev_priv->uncore,
GMBUS2))
& status)
Home |
Main Index |
Thread Index |
Old Index