search for: nvbios_exec

Displaying 10 results from an estimated 10 matches for "nvbios_exec".

2017 Oct 16
0
[PATCH] drm/nouveau/bios/init: use ARRAY_SIZE
...lvl, info, "0x%08x[%c]: "fmt, \ init->offset, init_exec(init) ? \ @@ -2271,8 +2273,6 @@ static struct nvbios_init_opcode { [0xaa] = { init_reserved }, }; -#define init_opcode_nr (sizeof(init_opcode) / sizeof(init_opcode[0])) - int nvbios_exec(struct nvbios_init *init) { @@ -2281,7 +2281,8 @@ nvbios_exec(struct nvbios_init *init) init->nested++; while (init->offset) { u8 opcode = nvbios_rd08(bios, init->offset); - if (opcode >= init_opcode_nr || !init_opcode[opcode].exec) { + if (opcode >= ARRAY_SIZE(init_opcode)...
2018 Jun 29
1
[Bug 107069] New: trace in kernel.log on boot
...DR7: 0000000000000400 Jun 29 10:40:33 glossy kernel: [ 11.336907] Call Trace: Jun 29 10:40:33 glossy kernel: [ 11.336925] ? init_generic_condition+0x183/0x300 [nouveau] Jun 29 10:40:33 glossy kernel: [ 11.336940] init_auxch+0xf6/0x180 [nouveau] Jun 29 10:40:33 glossy kernel: [ 11.336954] nvbios_exec+0x45/0xd0 [nouveau] Jun 29 10:40:33 glossy kernel: [ 11.336980] nvkm_dp_train_init+0x131/0x170 [nouveau] Jun 29 10:40:33 glossy kernel: [ 11.337002] nvkm_dp_acquire+0x186/0xcd0 [nouveau] Jun 29 10:40:33 glossy kernel: [ 11.337016] ? init_sub_direct+0x9e/0x100 [nouveau] Jun 29 10:40:33 glos...
2017 Oct 01
0
[PATCH 06/18] drm: use ARRAY_SIZE
...lvl, info, "0x%08x[%c]: "fmt, \ init->offset, init_exec(init) ? \ @@ -2271,8 +2273,6 @@ static struct nvbios_init_opcode { [0xaa] = { init_reserved }, }; -#define init_opcode_nr (sizeof(init_opcode) / sizeof(init_opcode[0])) - int nvbios_exec(struct nvbios_init *init) { @@ -2281,7 +2281,8 @@ nvbios_exec(struct nvbios_init *init) init->nested++; while (init->offset) { u8 opcode = nvbios_rd08(bios, init->offset); - if (opcode >= init_opcode_nr || !init_opcode[opcode].exec) { + if (opcode >= ARRAY_SIZE(init_opcode)...
2020 May 05
2
problems with NVS310
...00000(0000) GS:ffff9a2bff8c0000(0000) knlGS:0000000000000000 [23664.639285] CS:? 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [23664.639286] CR2: 00007f9acaa452c4 CR3: 0000000633e0a002 CR4: 00000000000606e0 [23664.639287] Call Trace: [23664.639310]? init_auxch+0xf6/0x180 [nouveau] [23664.639331]? nvbios_exec+0x45/0xd0 [nouveau] [23664.639359]? nvkm_dp_train_init+0x12e/0x170 [nouveau] [23664.639386]? nvkm_dp_acquire+0x1a6/0xcb0 [nouveau] [23664.639390]? ? update_blocked_averages+0x77b/0x950 [23664.639394]? ? __switch_to_asm+0x41/0x70 [23664.639395]? ? __switch_to_asm+0x41/0x70 [23664.639397]? ? syscall_...
2017 Sep 03
0
[PATCH 4/10] drm/nouveau/bios/init: Use ARRAY_SIZE macro
...h> #include <subdev/bios/bit.h> #include <subdev/bios/bmp.h> @@ -2271,7 +2272,7 @@ static struct nvbios_init_opcode { [0xaa] = { init_reserved }, }; -#define init_opcode_nr (sizeof(init_opcode) / sizeof(init_opcode[0])) +#define init_opcode_nr (ARRAY_SIZE(init_opcode)) int nvbios_exec(struct nvbios_init *init)
2017 Oct 01
6
[PATCH 00/18] use ARRAY_SIZE macro
Hi everyone, Using ARRAY_SIZE improves the code readability. I used coccinelle (I made a change to the array_size.cocci file [1]) to find several places where ARRAY_SIZE could be used instead of other macros or sizeof division. I tried to divide the changes into a patch per subsystem (excepted for staging). If one of the patch should be split into several patches, let me know. In order to reduce
2020 May 05
0
problems with NVS310
...000) > knlGS:0000000000000000 > [23664.639285] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [23664.639286] CR2: 00007f9acaa452c4 CR3: 0000000633e0a002 CR4: > 00000000000606e0 > [23664.639287] Call Trace: > [23664.639310] init_auxch+0xf6/0x180 [nouveau] > [23664.639331] nvbios_exec+0x45/0xd0 [nouveau] > [23664.639359] nvkm_dp_train_init+0x12e/0x170 [nouveau] > [23664.639386] nvkm_dp_acquire+0x1a6/0xcb0 [nouveau] > [23664.639390] ? update_blocked_averages+0x77b/0x950 > [23664.639394] ? __switch_to_asm+0x41/0x70 > [23664.639395] ? __switch_to_asm+0x41/0x70 &...
2013 Dec 21
21
[Bug 72943] New: NV98 [GeForce 9300 gs m] hangs on boot- all linux kernel versions > 3.2
...44:20 ycradnileved kernel: [ 3839.484006] [<ffffffffa041071a>] ? init_nv_reg+0x6a/0xe0 [nouveau] Dec 21 00:44:20 ycradnileved kernel: [ 3839.484006] [<ffffffffa0410709>] ? init_nv_reg+0x59/0xe0 [nouveau] Dec 21 00:44:20 ycradnileved kernel: [ 3839.484006] [<ffffffffa0415045>] ? nvbios_exec+0x35/0xd0 [nouveau] Dec 21 00:44:20 ycradnileved kernel: [ 3839.484006] [<ffffffffa0415508>] ? nvbios_init+0x98/0x150 [nouveau] Dec 21 00:44:20 ycradnileved kernel: [ 3839.484006] [<ffffffffa041a875>] ? nv50_devinit_init+0x45/0x190 [nouveau] Dec 21 00:44:20 ycradnileved kernel: [ 3839...
2020 May 05
2
problems with NVS310
...00000000 >> [23664.639285] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 >> [23664.639286] CR2: 00007f9acaa452c4 CR3: 0000000633e0a002 CR4: >> 00000000000606e0 >> [23664.639287] Call Trace: >> [23664.639310] init_auxch+0xf6/0x180 [nouveau] >> [23664.639331] nvbios_exec+0x45/0xd0 [nouveau] >> [23664.639359] nvkm_dp_train_init+0x12e/0x170 [nouveau] >> [23664.639386] nvkm_dp_acquire+0x1a6/0xcb0 [nouveau] >> [23664.639390] ? update_blocked_averages+0x77b/0x950 >> [23664.639394] ? __switch_to_asm+0x41/0x70 >> [23664.639395] ? __switc...
2014 Mar 28
48
[Bug 76732] New: Kworker using 100% CPU
https://bugs.freedesktop.org/show_bug.cgi?id=76732 Priority: medium Bug ID: 76732 Assignee: nouveau at lists.freedesktop.org Summary: Kworker using 100% CPU QA Contact: xorg-team at lists.x.org Severity: normal Classification: Unclassified OS: Linux (All) Reporter: patrick.clara at gmail.com