search for: use_msi

Displaying 20 results from an estimated 36 matches for "use_msi".

2013 Aug 28
3
[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; > + 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/drivers/gpu/drm/nouveau/core/subdev/mc/base.c > +++ b/drivers/gpu/drm/nouveau/core/...
2013 Aug 28
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...lude/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/drivers/gpu/drm/nouveau/core/subdev/mc/base.c +++ b/drivers/gpu/drm/nouveau/core/subdev/mc/base.c @@ -23,6 +23,7 @...
2014 Feb 13
0
[PATCH v2] drm/nouveau: support for platform devices
...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) && pmc->use_msi) > You should be able to keep the conditional as is. > >> pci_disable_msi(device->pdev); >> nouveau_subdev_destroy(&pmc->base); >> } >> @@ -114...
2013 Aug 28
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...ore/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/drivers/gpu/drm/nouveau/core/subdev/mc/base.c > >...
2014 Feb 12
2
[PATCH v2] drm/nouveau: support for platform devices
...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) && pmc->use_msi) You should be able to keep the conditional as is. > pci_disable_msi(device->pdev); > nouveau_subdev_destroy(&pmc->base); > } > @@ -114,22 +114,25 @@ nouveau_mc_create_(st...
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
2014 Feb 11
2
[PATCH] drm/nouveau: support for platform devices
On Mon, Feb 10, 2014 at 8:50 PM, Thierry Reding <thierry.reding at gmail.com> wrote: > On Mon, Feb 10, 2014 at 02:53:00PM +0900, Alexandre Courbot wrote: > [...] >> diff --git a/drivers/gpu/drm/nouveau/core/engine/device/base.c b/drivers/gpu/drm/nouveau/core/engine/device/base.c > [...] >> +resource_size_t >> +nv_device_resource_start(struct nouveau_device *device,
2013 Aug 30
3
[PATCH 6/6] drm/nouveau: use MSI interrupts
...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...
2013 Aug 28
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...>> > +++ 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/drivers/gpu/drm/nouveau/core/sub...
2013 Aug 30
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...t;>>>>>>>>> > 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/dr...
2014 Feb 12
0
[PATCH v2] drm/nouveau: support for platform devices
...drivers/gpu/drm/nouveau/core/include/subdev/mc.h index adc88b73d911..7c551b59038f 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; bool use_msi; + unsigned int irq; }; static inline struct nouveau_mc * diff --git a/drivers/gpu/drm/nouveau/core/os.h b/drivers/gpu/drm/nouveau/core/os.h index 191e739f30d1..90a6c904db5b 100644 --- a/drivers/gpu/drm/nouveau/core/os.h +++ b/drivers/gpu/drm/nouveau/core/os.h @@ -5,6 +5,7 @@ #include <linu...
2013 Aug 30
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...gt;>> > 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/co...
2013 Aug 30
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...eau_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/s...
2014 Dec 30
0
[PATCH] mc: add missing braces
...nouveau_mc_unk260; - if (nv_device_is_pci(device)) + if (nv_device_is_pci(device)) { switch (device->pdev->device & 0x0ff0) { case 0x00f0: case 0x02e0: @@ -138,6 +138,7 @@ nouveau_mc_create_(struct nouveau_object *parent, struct nouveau_object *engine, default: pmc->use_msi = true; break; + } } pmc->use_msi = nouveau_boolopt(device->cfgopt, "NvMSI", -- 1.9.1
2013 Aug 29
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...;>>> > @@ -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 >>>>>> > in...
2013 Aug 30
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...t;>>>>>> > 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...
2013 Aug 29
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...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/drivers/...
2013 Sep 04
0
[PATCH 6/6] drm/nouveau: use MSI interrupts
...> 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/gp...
2014 Feb 10
2
[PATCH] drm/nouveau: support for platform devices
...drivers/gpu/drm/nouveau/core/include/subdev/mc.h index adc88b73d911..7c551b59038f 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; bool use_msi; + unsigned int irq; }; static inline struct nouveau_mc * diff --git a/drivers/gpu/drm/nouveau/core/os.h b/drivers/gpu/drm/nouveau/core/os.h index 191e739f30d1..90a6c904db5b 100644 --- a/drivers/gpu/drm/nouveau/core/os.h +++ b/drivers/gpu/drm/nouveau/core/os.h @@ -5,6 +5,7 @@ #include <linu...
2013 Aug 29
2
[PATCH 6/6] drm/nouveau: use MSI interrupts
...eau/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 >>>...