Displaying 12 results from an estimated 12 matches for "nouveau_devinit".
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
....c b/nvkm/subdev/devinit/base.c
index 6b23d9a..a4df3fa 100644
--- a/nvkm/subdev/devinit/base.c
+++ b/nvkm/subdev/devinit/base.c
@@ -26,6 +26,7 @@
#include <subdev/bios.h>
#include <subdev/bios/init.h>
+#include <subdev/vga.h>
#include "priv.h"
@@ -38,6 +39,9 @@ _nouveau_devinit_fini(struct nouveau_object *object, bool suspend)
if (suspend)
devinit->post = true;
+ /* unlock the extended vga crtc regs */
+ nv_lockvgac(devinit, false);
+
return nouveau_subdev_fini(&devinit->base, suspend);
}
@@ -61,6 +65,16 @@ _nouveau_devinit_init(struct nouveau_object...
2014 Jan 19
2
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...nit/base.c
>> +++ b/nvkm/subdev/devinit/base.c
>> @@ -26,6 +26,7 @@
>>
>> #include <subdev/bios.h>
>> #include <subdev/bios/init.h>
>> +#include <subdev/vga.h>
>>
>> #include "priv.h"
>>
>> @@ -38,6 +39,9 @@ _nouveau_devinit_fini(struct nouveau_object *object, bool suspend)
>> if (suspend)
>> devinit->post = true;
>>
>> + /* unlock the extended vga crtc regs */
>> + nv_lockvgac(devinit, false);
>> +
>> return nouveau_subdev_fini(&a...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...df3fa 100644
> --- a/nvkm/subdev/devinit/base.c
> +++ b/nvkm/subdev/devinit/base.c
> @@ -26,6 +26,7 @@
>
> #include <subdev/bios.h>
> #include <subdev/bios/init.h>
> +#include <subdev/vga.h>
>
> #include "priv.h"
>
> @@ -38,6 +39,9 @@ _nouveau_devinit_fini(struct nouveau_object *object, bool suspend)
> if (suspend)
> devinit->post = true;
>
> + /* unlock the extended vga crtc regs */
> + nv_lockvgac(devinit, false);
> +
> return nouveau_subdev_fini(&devinit->base, suspend...
2014 Jan 19
0
[PATCH] devinit: lock/unlock crtc regs for all devices, not just pre-nv50
...v/devinit/base.c
>>> @@ -26,6 +26,7 @@
>>>
>>> #include <subdev/bios.h>
>>> #include <subdev/bios/init.h>
>>> +#include <subdev/vga.h>
>>>
>>> #include "priv.h"
>>>
>>> @@ -38,6 +39,9 @@ _nouveau_devinit_fini(struct nouveau_object *object, bool suspend)
>>> if (suspend)
>>> devinit->post = true;
>>>
>>> + /* unlock the extended vga crtc regs */
>>> + nv_lockvgac(devinit, false);
>>> +
>>> r...
2014 Jan 10
2
[PATCH 1/3] drm/nouveau: provide a way for devinit to mark engines as disabled
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
I decided to let the user still specify config=BLA=1 to override the hw
disable in case we get something wrong or for double-checking stuff, but I
suspect it won't really be used much. I'm not terribly fond of the message
text, if you come up with something better, feel free to drop it in.
2014 Nov 19
2
Is it necessary to parse the VBIOS init table when executable is false?
...ios/init.c.
When the executable is 0,these functions that parse the VBIOS init table seems to do nothing except the parsing. And in my opinion,init_exec_force does nothing,too!
Then I tried to test it on my computer,when the VBIOS parser tries to change a MMIO register or call a function of struct nouveau_devinit (such as devinit->pll_set,etc.),it will print a message into the kernel log. However,I cannot see any message about this in the kernel log!
Finally,I decided to just return when executable is zero. Then I found out the driver also works perfectly.
So I asked the question here,thanks for your h...
2014 Nov 19
0
Is it necessary to parse the VBIOS init table when executable is false?
...ute the table, to avoid failing in a critical path (such as
resume from suspend) where we can't recover.
Ben.
And in my opinion,init_exec_force does nothing,too!
>
> Then I tried to test it on my computer,when the VBIOS parser tries to
change a MMIO register or call a function of struct nouveau_devinit (such
as devinit->pll_set,etc.),it will print a message into the kernel log.
However,I cannot see any message about this in the kernel log!
>
> Finally,I decided to just return when executable is zero. Then I found
out the driver also works perfectly.
>
> So I asked the question here...
2014 Feb 12
0
[PATCH v2] drm/nouveau: support for platform devices
...ers/gpu/drm/nouveau/core/subdev/devinit/nv04.c b/drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c
index 7037eae46e44..052ad690b468 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c
@@ -38,7 +38,7 @@ nv04_devinit_meminit(struct nouveau_devinit *devinit)
int i;
/* Map the framebuffer aperture */
- fb = fbmem_init(nv_device(priv)->pdev);
+ fb = fbmem_init(nv_device(priv));
if (!fb) {
nv_error(priv, "failed to map fb\n");
return;
diff --git a/drivers/gpu/drm/nouveau/core/subdev/devinit/nv05.c b/drivers/gpu/drm/nou...
2014 Feb 12
2
[PATCH v2] drm/nouveau: support for platform devices
On 12/02/14 05:38, Alexandre Courbot wrote:
> Upcoming mobile Kepler GPUs (such as GK20A) use the platform bus instead
> of PCI to which Nouveau is tightly dependent. This patch allows Nouveau
> to handle platform devices by:
>
> - abstracting PCI-dependent functions that were typically used for
> resource querying and page mapping,
> - introducing a nv_device_is_pci()
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,
2014 Feb 10
2
[PATCH] drm/nouveau: support for platform devices
...ers/gpu/drm/nouveau/core/subdev/devinit/nv04.c b/drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c
index 7037eae46e44..052ad690b468 100644
--- a/drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c
+++ b/drivers/gpu/drm/nouveau/core/subdev/devinit/nv04.c
@@ -38,7 +38,7 @@ nv04_devinit_meminit(struct nouveau_devinit *devinit)
int i;
/* Map the framebuffer aperture */
- fb = fbmem_init(nv_device(priv)->pdev);
+ fb = fbmem_init(nv_device(priv));
if (!fb) {
nv_error(priv, "failed to map fb\n");
return;
diff --git a/drivers/gpu/drm/nouveau/core/subdev/devinit/nv05.c b/drivers/gpu/drm/nou...
2013 Sep 05
6
[PATCH 1/7] drm/nouveau: remove prototype for non-existent nouveau_connector_bpp
Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu>
---
drivers/gpu/drm/nouveau/nouveau_connector.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_connector.h b/drivers/gpu/drm/nouveau/nouveau_connector.h
index 6e399aa..4cefce3 100644
--- a/drivers/gpu/drm/nouveau/nouveau_connector.h
+++ b/drivers/gpu/drm/nouveau/nouveau_connector.h
@@ -107,7 +107,4