Displaying 20 results from an estimated 28 matches for "nv_wr08".
2007 May 24
0
[PATCH] add comments to nv_local.h
...etc. here so the riva_hw.* files
+ * HW. Put all affected includes, typdefs, etc. here so the nv_hw.* files
* can stay generic in nature.
*/
#include "compiler.h"
@@ -52,16 +52,16 @@
/*
* HW access macros. These assume memory-mapped I/O, and not normal I/O space.
*/
-#define NV_WR08(p,i,d) MMIO_OUT8((pointer)(p), (i), (d))
-#define NV_RD08(p,i) MMIO_IN8((pointer)(p), (i))
-#define NV_WR16(p,i,d) MMIO_OUT16((pointer)(p), (i), (d))
-#define NV_RD16(p,i) MMIO_IN16((pointer)(p), (i))
-#define NV_WR32(p,i,d) MMIO_OUT32((pointer)(p), (i), (d))
-#define NV_RD32(p,i) MMIO_...
2009 Sep 06
2
[PATCH 1/4] drm/nouveau: add reg_debug module parameter
...ne void
NVWriteVgaCrtc(struct drm_device *dev, int head, uint8_t index, uint8_t value)
{
- NV_DEBUG(dev, "NVWriteVgaCrtc: head %d index 0x%02x data 0x%02x\n", head, index, value);
+ NV_REG_DEBUG(VGACRTC, dev, "head %d index 0x%02x data 0x%02x\n",
+ head, index, value);
nv_wr08(dev, NV_PRMCIO_CRX__COLOR + head * NV_PRMCIO_SIZE, index);
nv_wr08(dev, NV_PRMCIO_CR__COLOR + head * NV_PRMCIO_SIZE, value);
}
@@ -192,7 +193,7 @@ NVWriteVgaCrtc(struct drm_device *dev, int head, uint8_t index, uint8_t value)
static inline uint8_t NVReadVgaCrtc(struct drm_device *dev, int head,...
2013 Aug 30
3
[PATCH 6/6] drm/nouveau: use MSI interrupts
...eau_mc_intr(int irq, void *arg)
>>>>>>>> > map++;
>>>>>>>> > }
>>>>>>>> >
>>>>>>>> > + if (pmc->use_msi)
>>>>>>>> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
>>>>>>>> Register not present everywhere.
>>>>>>>>
>>>>>>>> At the very least, the enabling of MSI should be disallowed on the
>>>>>>>> earlier chipsets where...
2013 Aug 28
3
[PATCH 6/6] drm/nouveau: use MSI interrupts
...#include <subdev/mc.h>
> +#include <core/option.h>
>
> static irqreturn_t
> nouveau_mc_intr(int irq, void *arg)
> @@ -43,6 +44,9 @@ nouveau_mc_intr(int irq, void *arg)
> map++;
> }
>
> + if (pmc->use_msi)
> + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
Register not present everywhere.
At the very least, the enabling of MSI should be disallowed on the
earlier chipsets where it's not supported. Though, it's perhaps
possible that the pci_enable_msi() call will fail in all of these
cases anyway.....
2013 Aug 30
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...>>>>>>>> > map++;
>>>>>>>>>> > }
>>>>>>>>>> >
>>>>>>>>>> > + if (pmc->use_msi)
>>>>>>>>>> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
>>>>>>>>>> Register not present everywhere.
>>>>>>>>>>
>>>>>>>>>> At the very least, the enabling of MSI should be disallowed on the
>>>>>>>>...
2013 Aug 30
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...; map++;
> >>>>>>>>>>> > }
> >>>>>>>>>>> >
> >>>>>>>>>>> > + if (pmc->use_msi)
> >>>>>>>>>>> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
> >>>>>>>>>>> Register not present everywhere.
> >>>>>>>>>>>
> >>>>>>>>>>> At the very least, the enabling of MSI should be disallowed on the
>...
2013 Aug 30
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...void *arg)
>>>>>>>>> > map++;
>>>>>>>>> > }
>>>>>>>>> >
>>>>>>>>> > + if (pmc->use_msi)
>>>>>>>>> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
>>>>>>>>> Register not present everywhere.
>>>>>>>>>
>>>>>>>>> At the very least, the enabling of MSI should be disallowed on the
>>>>>>>>> earlie...
2013 Aug 30
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...>>>> > map++;
>>>>>>>>>>> > }
>>>>>>>>>>> >
>>>>>>>>>>> > + if (pmc->use_msi)
>>>>>>>>>>> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
>>>>>>>>>>> Register not present everywhere.
>>>>>>>>>>>
>>>>>>>>>>> At the very least, the enabling of MSI should be disallowed on the
>>>>>...
2013 Sep 04
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...map++;
>> >>>>>>>>>>> > }
>> >>>>>>>>>>> >
>> >>>>>>>>>>> > + if (pmc->use_msi)
>> >>>>>>>>>>> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
>> >>>>>>>>>>> Register not present everywhere.
>> >>>>>>>>>>>
>> >>>>>>>>>>> At the very least, the enabling of MSI should be disallowed...
2013 Aug 28
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...ase.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
@@ -23,6 +23,7 @@
*/
#include <subdev/mc.h>
+#include <core/option.h>
static irqreturn_t
nouveau_mc_intr(int irq, void *arg)
@@ -43,6 +44,9 @@ nouveau_mc_intr(int irq, void *arg)
map++;
}
+ if (pmc->use_msi)
+ nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
+
if (intr) {
nv_error(pmc, "unknown intr 0x%08x\n", stat);
}
@@ -75,6 +79,8 @@ _nouveau_mc_dtor(struct nouveau_object *object)
struct nouveau_device *device = nv_device(object);
struct nouveau_mc *pmc = (void *)object;
free_irq(de...
2013 Aug 28
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...lt;core/option.h>
> >
> > static irqreturn_t
> > nouveau_mc_intr(int irq, void *arg)
> > @@ -43,6 +44,9 @@ nouveau_mc_intr(int irq, void *arg)
> > map++;
> > }
> >
> > + if (pmc->use_msi)
> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
> Register not present everywhere.
>
> At the very least, the enabling of MSI should be disallowed on the
> earlier chipsets where it's not supported. Though, it's perhaps
> possible that the pci_enable_msi() call will fail in al...
2013 Sep 30
1
[PATCH 6/6] drm/nouveau: use MSI interrupts
...>>>>>>>>>>>>>>> }
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> + if (pmc->use_msi)
>>>>>>>>>>>>>>> + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
>>>>>>>>>>>>>> Register not present everywhere.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> At the very least, the enabling of MSI should be d...
2013 Aug 29
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...>>> > @@ -43,6 +44,9 @@ nouveau_mc_intr(int irq, void *arg)
>>>>>> > map++;
>>>>>> > }
>>>>>> >
>>>>>> > + if (pmc->use_msi)
>>>>>> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
>>>>>> Register not present everywhere.
>>>>>>
>>>>>> At the very least, the enabling of MSI should be disallowed on the
>>>>>> earlier chipsets where it's not supported. Though...
2013 Aug 28
11
[PATCH 0/6] Nouveau on ARM fixes
This is the first set of patches to make Nouveau work
on Tegra. Those are only the obvious correctness fixes,
a lot of optimization work remains to be done, but at least
it's enough to get accel working and let the machine survive
a piglit run.
A new BO flag is introduced to allow userspace to hint the
kernel about possible optimizations.
Lucas Stach (6):
drm/ttm: recognize ARM arch in
2013 Aug 28
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...gt;> > static irqreturn_t
>> > nouveau_mc_intr(int irq, void *arg)
>> > @@ -43,6 +44,9 @@ nouveau_mc_intr(int irq, void *arg)
>> > map++;
>> > }
>> >
>> > + if (pmc->use_msi)
>> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
>> Register not present everywhere.
>>
>> At the very least, the enabling of MSI should be disallowed on the
>> earlier chipsets where it's not supported. Though, it's perhaps
>> possible that the pci_enable_msi() c...
2009 Aug 10
1
[RFC] drm/nouveau: optimize code emission of inline functions
[This email is either empty or too large to be displayed at this time]
2014 Dec 16
0
[PATCH] mc/nv4c: disable msi
...iff --git a/nvkm/subdev/mc/nv4c.c b/nvkm/subdev/mc/nv4c.c
index a75c35c..165401c 100644
--- a/nvkm/subdev/mc/nv4c.c
+++ b/nvkm/subdev/mc/nv4c.c
@@ -24,13 +24,6 @@
#include "nv04.h"
-static void
-nv4c_mc_msi_rearm(struct nouveau_mc *pmc)
-{
- struct nv04_mc_priv *priv = (void *)pmc;
- nv_wr08(priv, 0x088050, 0xff);
-}
-
struct nouveau_oclass *
nv4c_mc_oclass = &(struct nouveau_mc_oclass) {
.base.handle = NV_SUBDEV(MC, 0x4c),
@@ -41,5 +34,4 @@ nv4c_mc_oclass = &(struct nouveau_mc_oclass) {
.fini = _nouveau_mc_fini,
},
.intr = nv04_mc_intr,
- .msi_rearm = nv4c_mc_msi_re...
2013 Aug 29
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...rn_t
>>> > nouveau_mc_intr(int irq, void *arg)
>>> > @@ -43,6 +44,9 @@ nouveau_mc_intr(int irq, void *arg)
>>> > map++;
>>> > }
>>> >
>>> > + if (pmc->use_msi)
>>> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
>>> Register not present everywhere.
>>>
>>> At the very least, the enabling of MSI should be disallowed on the
>>> earlier chipsets where it's not supported. Though, it's perhaps
>>> possible that th...
2009 Aug 13
9
[PATCHv2 01/10] drm/nouveau: Fix a lock up at NVSetOwner with nv11.
It seems it was only locking up in the context of
nouveau_hw_save_vga_fonts, when it actually did something (because
the console wasn't already in graphics mode).
Signed-off-by: Francisco Jerez <currojerez at riseup.net>
---
drivers/gpu/drm/nouveau/nouveau_hw.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_hw.c
2013 Aug 29
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...nouveau_mc_intr(int irq, void *arg)
>>>> > @@ -43,6 +44,9 @@ nouveau_mc_intr(int irq, void *arg)
>>>> > map++;
>>>> > }
>>>> >
>>>> > + if (pmc->use_msi)
>>>> > + nv_wr08(pmc->base.base.parent, 0x00088068, 0xff);
>>>> Register not present everywhere.
>>>>
>>>> At the very least, the enabling of MSI should be disallowed on the
>>>> earlier chipsets where it's not supported. Though, it's perhaps
>>>&...