search for: ptimer

Displaying 20 results from an estimated 74 matches for "ptimer".

Did you mean: timer
2016 Mar 02
0
Debugging second dvi output on quadro fx380 not working
...=> 0x1000000 [0] 443.963510 MMIO32 W 0x61c80c 0x00000000 PDISPLAY.SOR[0x1].PLL0 <= 0 [0] 443.963527 MMIO32 R 0x61c808 0x00800000 PDISPLAY.SOR[0x1]+0x8 => 0x800000 [0] 443.963542 MMIO32 W 0x61c808 0x14800000 PDISPLAY.SOR[0x1]+0x8 <= 0x14800000 [0] 443.963564 MMIO32 R 0x009200 0x00000288 PTIMER.CLOCK_DIV => 0x288 [0] 443.963588 MMIO32 R 0x009210 0x000000fa PTIMER.CLOCK_MUL => 0xfa [0] 443.963608 MMIO32 R 0x009410 0x1437a9bf PTIMER.TIME_HIGH => 0x1437a9bf [0] 443.963627 MMIO32 R 0x009400 0xb8957340 PTIMER.TIME_LOW => 0xb8957340 [0] 443.963647 MMIO32 R 0x009410 0x1437a9bf PTIMER...
2013 Aug 12
5
[PATCH 0/5] Thermal management fixes
From: Martin Peres <martin.peres at labri.fr> This patchset is mostly about fixing fdo bug #66177, reported by Dash Four. This bug is about fan/temp management not working after a suspend/resume cycle. Fan/therm management relies on ptimer's alarm feature to call periodically multiple callbacks that poll the temperature and update the fan speed if needed. The problem is that there is no easy way to make this work across suspend or hibernate cycles because it would require making sure the IRQs aren't serviced until all nouveau...
2008 Mar 21
3
[Bug 15164] New: PTIMER broken in DRM (regression)
http://bugs.freedesktop.org/show_bug.cgi?id=15164 Summary: PTIMER broken in DRM (regression) Product: xorg Version: unspecified Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at list...
2014 Jul 14
0
[PATCH] drm/nouveau/therm: fix a potential deadlock in the therm monitoring code
...st_polling(therm, &sensor->thrs_shutdown, NOUVEAU_THERM_THRS_SHUTDOWN); + spin_unlock_irqrestore(&priv->sensor.alarm_program_lock, flags); + /* schedule the next poll in one second */ if (therm->temp_get(therm) >= 0 && list_empty(&alarm->head)) - ptimer->alarm(ptimer, 1000 * 1000 * 1000, alarm); - - spin_unlock_irqrestore(&priv->sensor.alarm_program_lock, flags); + ptimer->alarm(ptimer, 1000000000ULL, alarm); } void -- 2.0.1
2013 Jun 09
3
[Bug 65554] New: CPU lock with nouveau_fan_update
https://bugs.freedesktop.org/show_bug.cgi?id=65554 Priority: medium Bug ID: 65554 Assignee: nouveau at lists.freedesktop.org Summary: CPU lock with nouveau_fan_update QA Contact: xorg-team at lists.x.org Severity: major Classification: Unclassified OS: Linux (All) Reporter: ddamienn at gmail.com
2012 Nov 06
1
[PATCH] drm/nv50: decode PGRAPH status registers on TLB flush fail
...uot;, units[i]); + tmp >>= 3; + } + if (tmp) + pr_cont("invalid: %x ", tmp); + pr_cont("(0x%08x) ", status); +} + static int nv84_graph_tlb_flush(struct nouveau_engine *engine) { @@ -219,10 +275,21 @@ nv84_graph_tlb_flush(struct nouveau_engine *engine) !(timeout = ptimer->read(ptimer) - start > 2000000000)); if (timeout) { - nv_error(priv, "PGRAPH TLB flush idle timeout fail: " - "0x%08x 0x%08x 0x%08x 0x%08x\n", - nv_rd32(priv, 0x400700), nv_rd32(priv, 0x400380), - nv_rd32(priv, 0x400384), nv_rd32(priv, 0x400388)); + nv...
2014 Jun 17
1
[REGRESSION] drm/g94/i2c: add aux channel interrupt driver
...D[ MXM][0000:01:00.0] reset [ 41.784619] nouveau 0000:01:00.0: irq 48 for MSI/MSI-X [ 41.784634] nouveau [ PMC][0000:01:00.0] MSI interrupts enabled [ 41.784655] nouveau D[ PMC][0000:01:00.0] reset [ 41.784658] nouveau D[ PBUS][0000:01:00.0] reset [ 41.784660] nouveau D[ PTIMER][0000:01:00.0] reset [ 41.784662] nouveau D[ PTIMER][0000:01:00.0] input frequency : 27000Hz [ 41.784663] nouveau D[ PTIMER][0000:01:00.0] input multiplier: 3 [ 41.784665] nouveau D[ PTIMER][0000:01:00.0] numerator : 0x00000144 [ 41.784666] nouveau D[ PTIMER][0000:01:00.0] denomin...
2012 Aug 19
1
[PATCH 01/10] drm/nv50: decode PGRAPH status registers on TLB flush fail
...ot;, units[i]); + tmp >>= 3; + } + if (tmp) + pr_cont("invalid: %x ", tmp); + pr_cont("(0x%08x)\n", status); +} + static int nv84_graph_tlb_flush(struct nouveau_engine *engine) { @@ -219,10 +275,24 @@ nv84_graph_tlb_flush(struct nouveau_engine *engine) !(timeout = ptimer->read(ptimer) - start > 2000000000)); if (timeout) { - nv_error(priv, "PGRAPH TLB flush idle timeout fail: " - "0x%08x 0x%08x 0x%08x 0x%08x\n", - nv_rd32(priv, 0x400700), nv_rd32(priv, 0x400380), - nv_rd32(priv, 0x400384), nv_rd32(priv, 0x400388)); + nv...
2018 Jun 05
0
[PATCH v2 1/2] compiler-gcc.h: add gnu_inline to all inline declarations
...st_head *get_list_head(struct __queue *queue) { return (&(queue->queue)); } @@ -88,28 +88,28 @@ __inline static struct list_head *get_list_head(struct __queue *queue) #define LIST_CONTAINOR(ptr, type, member) \ container_of(ptr, type, member) -__inline static void _set_timer(_timer *ptimer, u32 delay_time) +static inline void _set_timer(_timer *ptimer, u32 delay_time) { mod_timer(ptimer , (jiffies+(delay_time*HZ/1000))); } -__inline static void _cancel_timer(_timer *ptimer, u8 *bcancelled) +static inline void _cancel_timer(_timer *ptimer, u8 *bcancelled) { del_timer_sync(pti...
2012 Apr 22
1
[PATCH 4/5] drm/nv50: let applications hanging on vm flush to be killed
...ph.c +++ b/drivers/gpu/drm/nouveau/nv50_graph.c @@ -435,6 +435,11 @@ nv84_graph_tlb_flush(struct drm_device *dev, int engine) if ((tmp & 7) == 1) idle = false; } + + if (fatal_signal_pending(current)) { + ret = -ERESTARTSYS; + break; + } } while (!idle && !(timeout = ptimer->read(dev) - start > 2000000000)); if (timeout) { -- 1.7.8.5
2014 Mar 13
1
[PATCH] pm/fan: drop the fan lock in fan_update() before rescheduling
...deadlock + */ + spin_unlock_irqrestore(&fan->lock, flags); /* schedule next fan update, if not at target speed already */ if (list_empty(&fan->alarm.head) && target != duty) { @@ -92,8 +101,6 @@ nouveau_fan_update(struct nouveau_fan *fan, bool immediate, int target) ptimer->alarm(ptimer, delay * 1000 * 1000, &fan->alarm); } -done: - spin_unlock_irqrestore(&fan->lock, flags); return ret; } -- 1.9.0
2014 Mar 26
1
[PATCH 12/12] drm/nouveau: support for probing GK20A
...e->cname = "GK20A"; > + device->oclass[NVDEV_SUBDEV_MC ] = nvc3_mc_oclass; > + device->oclass[NVDEV_SUBDEV_BUS ] = nvc0_bus_oclass; > + device->oclass[NVDEV_SUBDEV_TIMER ] = &nv04_timer_oclass; As per note on the PTIMER patch, can just switch this to "gk20a_timer_oclass" on the latest code. > + device->oclass[NVDEV_SUBDEV_FB ] = nvea_fb_oclass; > + device->oclass[NVDEV_SUBDEV_IBUS ] = &nvea_ibus_oclass; > + device->oclass[NVDEV_SUBDE...
2018 Jun 05
3
[PATCH v2 1/2] compiler-gcc.h: add gnu_inline to all inline declarations
On Tue, 2018-06-05 at 10:05 -0700, Nick Desaulniers wrote: > Functions marked extern inline do not emit an externally visible > function when the gnu89 C standard is used. Some KBUILD Makefiles > overwrite KBUILD_CFLAGS. This is an issue for GCC 5.1+ users as without > an explicit C standard specified, the default is gnu11. Since c99, the > semantics of extern inline have changed
2018 Jun 05
3
[PATCH v2 1/2] compiler-gcc.h: add gnu_inline to all inline declarations
On Tue, 2018-06-05 at 10:05 -0700, Nick Desaulniers wrote: > Functions marked extern inline do not emit an externally visible > function when the gnu89 C standard is used. Some KBUILD Makefiles > overwrite KBUILD_CFLAGS. This is an issue for GCC 5.1+ users as without > an explicit C standard specified, the default is gnu11. Since c99, the > semantics of extern inline have changed
2014 Mar 24
4
[PATCH 1/4] pm/fan: drop the fan lock in fan_update() before rescheduling
...deadlock + */ + spin_unlock_irqrestore(&fan->lock, flags); /* schedule next fan update, if not at target speed already */ if (list_empty(&fan->alarm.head) && target != duty) { @@ -92,8 +101,6 @@ nouveau_fan_update(struct nouveau_fan *fan, bool immediate, int target) ptimer->alarm(ptimer, delay * 1000 * 1000, &fan->alarm); } -done: - spin_unlock_irqrestore(&fan->lock, flags); return ret; } -- 1.9.1
2014 Aug 24
1
Kernel crash in 3.17-rc1 when loading nouveau on (non-POSTed) NV1A
...W[ VBIOS][0000:02:00.0] DCB contains no useful data [ 154.881386] nouveau W[ VBIOS][0000:02:00.0] DCB contains no useful data [ 154.888274] nouveau [ DEVINIT][0000:02:00.0] adaptor not initialised [ 154.894789] nouveau [ VBIOS][0000:02:00.0] running init tables [ 155.060171] nouveau W[ PTIMER][0000:02:00.0] unknown input clock freq [ 155.066831] nouveau [ PFB][0000:02:00.0] RAM type: stolen system memory [ 155.073960] nouveau [ PFB][0000:02:00.0] RAM size: 32 MiB [ 155.079857] nouveau [ PFB][0000:02:00.0] ZCOMP: 0 tags [ 155.090902] nouveau [ CLK][0000:02:00.0...
2012 Apr 25
5
[PATCH v2 4/4] drm/nouveau: gpu lockup recovery
...drm/nouveau/nv50_graph.c index a61853f..d0a2e50 100644 --- a/drivers/gpu/drm/nouveau/nv50_graph.c +++ b/drivers/gpu/drm/nouveau/nv50_graph.c @@ -440,13 +440,14 @@ nv84_graph_tlb_flush(struct drm_device *dev, int engine) ret = -ERESTARTSYS; break; } - } while (!idle && !(timeout = ptimer->read(dev) - start > 2000000000)); + } while (!idle && !(timeout = ptimer->read(dev) - start > nv_timeout(dev))); if (timeout) { - NV_ERROR(dev, "PGRAPH TLB flush idle timeout fail: " - "0x%08x 0x%08x 0x%08x 0x%08x\n", - nv_rd32(dev, 0x400700)...
2009 Dec 14
0
[PATCH] drm/nouveau: Unregister irq handler if init fails
...return ret; + goto out; /* Setup the memory manager */ ret = nouveau_mem_init(dev); if (ret) - return ret; + goto out; ret = nouveau_gpuobj_init(dev); if (ret) - return ret; + goto out; /* PMC */ ret = engine->mc.init(dev); if (ret) - return ret; + goto out; /* PTIMER */ ret = engine->timer.init(dev); if (ret) - return ret; + goto out; /* PFB */ ret = engine->fb.init(dev); if (ret) - return ret; + goto out; /* PGRAPH */ ret = engine->graph.init(dev); if (ret) - return ret; + goto out; /* PFIFO */ ret = engine->fifo.ini...
2013 Jul 22
7
[Bug 67161] New: Blank video after resuming from S3 or S4
https://bugs.freedesktop.org/show_bug.cgi?id=67161 Priority: medium Bug ID: 67161 Assignee: nouveau at lists.freedesktop.org Summary: Blank video after resuming from S3 or S4 QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: mauromol at tiscali.it
2016 Feb 16
0
"Unknown LVDS configuration bits, please report"
...0.848223] nouveau [ DEVICE][0000:01:00.0] Family : NV20 [ 0.943984] nouveau [ VBIOS][0000:01:00.0] using image from PRAMIN [ 0.943990] nouveau [ VBIOS][0000:01:00.0] BMP version 5.25 [ 0.944245] nouveau [ VBIOS][0000:01:00.0] version 04.28.20.29.00 [ 0.944596] nouveau W[ PTIMER][0000:01:00.0] unknown input clock freq [ 0.944611] nouveau [ PFB][0000:01:00.0] RAM type: SDRAM [ 0.944615] nouveau [ PFB][0000:01:00.0] RAM size: 32 MiB [ 0.944619] nouveau [ PFB][0000:01:00.0] ZCOMP: 49152 tags [ 0.953634] nouveau [ CLK][0000:01:00.0] --: [...