Displaying 20 results from an estimated 25 matches for "nouveau_mc".
2013 Aug 28
3
[PATCH 6/6] drm/nouveau: use MSI interrupts
...; diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
> index 9d2cd20..ce6569f 100644
> --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
> +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
> @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
> struct nouveau_mc {
> struct nouveau_subdev base;
> const struct nouveau_mc_intr *intr_map;
> + bool use_msi;
> };
>
> static inline struct nouveau_mc *
> diff --git a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c b/drivers/gpu/drm/nouveau/c...
2013 Aug 28
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...ed, 18 insertions(+)
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
index 9d2cd20..ce6569f 100644
--- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
+++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
@@ -12,6 +12,7 @@ struct nouveau_mc_intr {
struct nouveau_mc {
struct nouveau_subdev base;
const struct nouveau_mc_intr *intr_map;
+ bool use_msi;
};
static inline struct nouveau_mc *
diff --git a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
index ec9cd6f..02b337e 100644
--- a...
2013 Aug 28
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...rs/gpu/drm/nouveau/core/include/subdev/mc.h b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
> > index 9d2cd20..ce6569f 100644
> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
> > struct nouveau_mc {
> > struct nouveau_subdev base;
> > const struct nouveau_mc_intr *intr_map;
> > + bool use_msi;
> > };
> >
> > static inline struct nouveau_mc *
> > diff --git a/drivers/gpu/drm/nouveau/core/subd...
2013 Aug 28
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...au/core/include/subdev/mc.h b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>> > index 9d2cd20..ce6569f 100644
>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>> > struct nouveau_mc {
>> > struct nouveau_subdev base;
>> > const struct nouveau_mc_intr *intr_map;
>> > + bool use_msi;
>> > };
>> >
>> > static inline struct nouveau_mc *
>> > diff --git a/d...
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 29
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...subdev/mc.h b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>> > index 9d2cd20..ce6569f 100644
>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>>> > struct nouveau_mc {
>>> > struct nouveau_subdev base;
>>> > const struct nouveau_mc_intr *intr_map;
>>> > + bool use_msi;
>>> > };
>>> >
>>> > static inline struct nouveau_mc *...
2013 Aug 29
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...ivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>> > index 9d2cd20..ce6569f 100644
>>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>>>> > struct nouveau_mc {
>>>> > struct nouveau_subdev base;
>>>> > const struct nouveau_mc_intr *intr_map;
>>>> > + bool use_msi;
>>>> > };
>>>> >
>>>> > static...
2013 Aug 29
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...de/subdev/mc.h
>>>>>> > index 9d2cd20..ce6569f 100644
>>>>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>>>>>> > struct nouveau_mc {
>>>>>> > struct nouveau_subdev base;
>>>>>> > const struct nouveau_mc_intr *intr_map;
>>>>>> > + bool use_msi;
>>>>>> > };
>>>...
2013 Aug 30
3
[PATCH 6/6] drm/nouveau: use MSI interrupts
...gt;>>> > index 9d2cd20..ce6569f 100644
>>>>>>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>>>>>>>> > struct nouveau_mc {
>>>>>>>> > struct nouveau_subdev base;
>>>>>>>> > const struct nouveau_mc_intr *intr_map;
>>>>>>>> > + bool use_msi;
>>>&...
2013 Aug 30
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...ex 9d2cd20..ce6569f 100644
>>>>>>>>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>>>>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>>>>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>>>>>>>>>> > struct nouveau_mc {
>>>>>>>>>> > struct nouveau_subdev base;
>>>>>>>>>> > const struct nouveau_mc_intr *intr_map;
>>>>>>>>>> > +...
2014 Feb 05
2
[PATCH 1/3] drm/nv4c/mc: nv4x igp's have a different msi rearm register
...] = nv46_fb_oclass;
diff --git a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
index adc88b7..3c6738e 100644
--- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
+++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
@@ -47,6 +47,7 @@ struct nouveau_mc_oclass {
extern struct nouveau_oclass *nv04_mc_oclass;
extern struct nouveau_oclass *nv40_mc_oclass;
extern struct nouveau_oclass *nv44_mc_oclass;
+extern struct nouveau_oclass *nv4c_mc_oclass;
extern struct nouveau_oclass *nv50_mc_oclass;
extern struct nouveau_oclass *nv94_mc_oclass;
extern...
2013 Aug 29
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...uveau/core/include/subdev/mc.h
>>>>> > index 9d2cd20..ce6569f 100644
>>>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>>>>> > struct nouveau_mc {
>>>>> > struct nouveau_subdev base;
>>>>> > const struct nouveau_mc_intr *intr_map;
>>>>> > + bool use_msi;
>>>>> > };
>>>>> >
>&...
2013 Aug 30
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...> >>>>>>>>>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
> >>>>>>>>>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
> >>>>>>>>>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
> >>>>>>>>>>> > struct nouveau_mc {
> >>>>>>>>>>> > struct nouveau_subdev base;
> >>>>>>>>>>> > const struct nouveau_mc_intr *intr_map;
> >>>>&...
2013 Aug 29
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...gt;>>>>>> > index 9d2cd20..ce6569f 100644
>>>>>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>>>>>>> > struct nouveau_mc {
>>>>>>> > struct nouveau_subdev base;
>>>>>>> > const struct nouveau_mc_intr *intr_map;
>>>>>>> > + bool use_msi;
>>>>>>>...
2013 Aug 30
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...gt; > index 9d2cd20..ce6569f 100644
>>>>>>>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>>>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>>>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>>>>>>>>> > struct nouveau_mc {
>>>>>>>>> > struct nouveau_subdev base;
>>>>>>>>> > const struct nouveau_mc_intr *intr_map;
>>>>>>>>> > + bool use_ms...
2014 Dec 16
0
[PATCH] mc/nv4c: disable msi
.../subdev/mc/nv4c.c | 8 --------
1 file changed, 8 deletions(-)
diff --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_fi...
2013 Aug 30
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...ce6569f 100644
>>>>>>>>>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>>>>>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>>>>>>>>>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>>>>>>>>>>> > struct nouveau_mc {
>>>>>>>>>>> > struct nouveau_subdev base;
>>>>>>>>>>> > const struct nouveau_mc_intr *intr_map;
>>>>>>>>>&...
2013 Sep 04
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...;>>>>>>>>>> > --- a/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>> >>>>>>>>>>> > +++ b/drivers/gpu/drm/nouveau/core/include/subdev/mc.h
>> >>>>>>>>>>> > @@ -12,6 +12,7 @@ struct nouveau_mc_intr {
>> >>>>>>>>>>> > struct nouveau_mc {
>> >>>>>>>>>>> > struct nouveau_subdev base;
>> >>>>>>>>>>> > const struct nouveau_mc_intr *intr_map;
>> &...
2014 Feb 12
2
[PATCH v2] drm/nouveau: support for platform devices
...nip]
> diff --git a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
> index b4b9943773bc..572190c8363b 100644
> --- a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
> +++ b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
> @@ -93,8 +93,8 @@ _nouveau_mc_dtor(struct nouveau_object *object)
> {
> struct nouveau_device *device = nv_device(object);
> struct nouveau_mc *pmc = (void *)object;
> - free_irq(device->pdev->irq, pmc);
> - if (pmc->use_msi)
> + free_irq(pmc->irq, pmc);
> + if (nv_device_is_pci(device) &am...
2014 Feb 13
0
[PATCH v2] drm/nouveau: support for platform devices
...-git a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
>> index b4b9943773bc..572190c8363b 100644
>> --- a/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
>> +++ b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c
>> @@ -93,8 +93,8 @@ _nouveau_mc_dtor(struct nouveau_object *object)
>> {
>> struct nouveau_device *device = nv_device(object);
>> struct nouveau_mc *pmc = (void *)object;
>> - free_irq(device->pdev->irq, pmc);
>> - if (pmc->use_msi)
>> + free_irq(pmc->irq, pmc);
>> + i...