search for: init_reset

Displaying 12 results from an estimated 12 matches for "init_reset".

2010 Jun 17
0
[PATCH] drm/nouveau: Don't clear AGPCMD completely on INIT_RESET.
....c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index ee36f8f..903e72b 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -2126,7 +2126,8 @@ init_reset(struct nvbios *bios, uint16_t offset, struct init_exec *iexec) /* no iexec->execute check by design */ pci_nv_19 = bios_rd32(bios, NV_PBUS_PCI_NV_19); - bios_wr32(bios, NV_PBUS_PCI_NV_19, 0); + bios_wr32(bios, NV_PBUS_PCI_NV_19, pci_nv_19 & ~0xf00); + bios_wr32(bios, reg, value1);...
2023 Jun 09
1
[RESEND 07/15] drm/nouveau/nvkm/subdev/bios/init: Demote a bunch of kernel-doc abuses
...opcode 0x62 * */ @@ -1451,7 +1451,7 @@ init_zm_index_io(struct nvbios_init *init) init_wrvgai(init, port, index, data); } -/** +/* * INIT_COMPUTE_MEM - opcode 0x63 * */ @@ -1469,7 +1469,7 @@ init_compute_mem(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_RESET - opcode 0x65 * */ @@ -1496,7 +1496,7 @@ init_reset(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_CONFIGURE_MEM - opcode 0x66 * */ @@ -1555,7 +1555,7 @@ init_configure_mem(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_CON...
2023 Aug 24
1
[PATCH 03/20] drm/nouveau/nvkm/subdev/bios/init: Demote a bunch of kernel-doc abuses
...opcode 0x62 * */ @@ -1451,7 +1451,7 @@ init_zm_index_io(struct nvbios_init *init) init_wrvgai(init, port, index, data); } -/** +/* * INIT_COMPUTE_MEM - opcode 0x63 * */ @@ -1469,7 +1469,7 @@ init_compute_mem(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_RESET - opcode 0x65 * */ @@ -1496,7 +1496,7 @@ init_reset(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_CONFIGURE_MEM - opcode 0x66 * */ @@ -1555,7 +1555,7 @@ init_configure_mem(struct nvbios_init *init) init_exec_force(init, false); } -/** +/* * INIT_CON...
2009 Aug 20
1
Delays in DRM nouveau_bios.c
..., offset, cond)) { NV_WARN(bios->dev, "0x%04X: Condition still not met after %dms, " - "skiping following opcodes\n", offset, 20 * retries); + "skipping following opcodes\n", offset, 20 * retries); iexec->execute = false; } @@ -1851,7 +1859,7 @@ init_reset(struct nvbios *bios, uint16_t offset, struct init_exec *iexec) bios_wr32(bios, NV_PBUS_PCI_NV_19, 0); bios_wr32(bios, reg, value1); - BIOS_USLEEP(10); + bios_usleep(10); bios_wr32(bios, reg, value2); bios_wr32(bios, NV_PBUS_PCI_NV_19, pci_nv_19); @@ -2233,8 +2241,7 @@ init_time(struct n...
2009 Dec 15
2
[PATCH 1/2] drm/nouveau: Kill global state in NvShadowBIOS
--- drivers/gpu/drm/nouveau/nouveau_bios.c | 47 ++++++++++++++----------------- 1 files changed, 21 insertions(+), 26 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index 5eec5ed..04ac564 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -181,43 +181,42 @@ struct methods { const char
2009 Oct 02
0
Disaster at annarchy
...uot;skiping following opcodes\n", > >> > offset, 20 * retries); > >> > + "skipping following opcodes\n", > >> > offset, 20 * retries); iexec->execute = false; > >> > } > >> > > >> > @@ -1851,7 +1859,7 @@ init_reset(struct nvbios *bios, > >> > uint16_t offset, struct init_exec *iexec) bios_wr32(bios, > >> > NV_PBUS_PCI_NV_19, 0); bios_wr32(bios, reg, value1); > >> > > >> > - BIOS_USLEEP(10); > >> > + bios_usleep(10); > > > > With the ol...
2023 Jun 09
7
[RESEND 00/15] Rid W=1 warnings from GPU
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Lee Jones (15): drm/xlnx/zynqmp_disp: Use correct kerneldoc formatting in zynqmp_disp drm/xlnx/zynqmp_dp: Fix function name zynqmp_dp_link_train() -> zynqmp_dp_train() drm/vkms/vkms_composer: Fix a few different kerneldoc formatting
2023 Aug 24
7
[PATCH (set 1) 00/20] Rid W=1 warnings from GPU
This set is part of a larger effort attempting to clean-up W=1 kernel builds, which are currently overwhelmingly riddled with niggly little warnings. Cc: Alex Deucher <alexander.deucher at amd.com> Cc: amd-gfx at lists.freedesktop.org Cc: Ben Skeggs <bskeggs at redhat.com> Cc: "Christian K?nig" <christian.koenig at amd.com> Cc: Daniel Vetter <daniel at ffwll.ch>
2011 Apr 20
16
[Bug 36422] New: unable to hibernate with nouveau and NV11 [bisected]
https://bugs.freedesktop.org/show_bug.cgi?id=36422 Summary: unable to hibernate with nouveau and NV11 [bisected] Product: xorg Version: unspecified Platform: All OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau AssignedTo: nouveau at
2008 Apr 04
1
Driver Problem with 7150M
...INIT_INDEX_IO ] (II) NOUVEAU(0): 0xE362: Port: 0x03C4, Index: 0x01, Mask: 0xFF, Data: 0x20 (II) NOUVEAU(0): Indexed IO read: Port: 0x03C4, Index: 0x01, Head: 0x00, Data: 0x00 (II) NOUVEAU(0): Indexed IO write: Port: 0x03C4, Index: 0x01, Head: 0x00, Data: 0x20 (II) NOUVEAU(0): 0xE368: [ (0x65) - INIT_RESET ] (II) NOUVEAU(0): Read: Reg: 0x0000184C, Data: 0x00000000 (II) NOUVEAU(0): Write: Reg: 0x0000184C, Data: 0x00000000 (II) NOUVEAU(0): Write: Reg: 0x00000200, Data: 0x03100000 (II) NOUVEAU(0): Write: Reg: 0x00000200, Data: 0x07110111 (II) NOUVEAU(0): Write: Reg: 0x0000184C, Data: 0x00000000 (I...
2007 Nov 01
4
Looking for NV44 testers?
...0): 0xDEA9: CRTC INDEX: 0x44, VALUE: 0x00 (II) NOUVEAU(0): 0xDEA9: CURRENT VALUE IS: 0x24 (II) NOUVEAU(0): 0xDEAC: [ (0x78) - INIT_INDEX_IO ] (II) NOUVEAU(0): 0xDEAC: CRTC REG: 0x03C4, INDEX: 0x0001, VALUE: 0x20 (II) NOUVEAU(0): 0xDEAC: CURRENT VALUE IS: 0x00 (II) NOUVEAU(0): 0xDEB2: [ (0x65) - INIT_RESET ] (II) NOUVEAU(0): 0xDEB2: REG: 0x00000200, VALUE: 0x01100000 (II) NOUVEAU(0): 0xDEB2: REG: 0x00000200, VALUE: 0x05110111 (II) NOUVEAU(0): 0xDEB2: CURRENT VALUE IS: 0x17111113 (II) NOUVEAU(0): 0xDEBF: [ (0x6E) - INIT_NV_REG ] (II) NOUVEAU(0): 0xDEBF: REG: 0x00101000, VALUE: 0x2340DE8B (II) NOUVEA...
2008 Apr 21
0
hang when starting X
...INIT_INDEX_IO ] (II) NOUVEAU(0): 0xE1F5: Port: 0x03C4, Index: 0x01, Mask: 0xFF, Data: 0x20 (II) NOUVEAU(0): Indexed IO read: Port: 0x03C4, Index: 0x01, Head: 0x00, Data: 0x00 (II) NOUVEAU(0): Indexed IO write: Port: 0x03C4, Index: 0x01, Head: 0x00, Data: 0x20 (II) NOUVEAU(0): 0xE1FB: [ (0x65) - INIT_RESET ] (II) NOUVEAU(0): Read: Reg: 0x0000184C, Data: 0x00000000 (II) NOUVEAU(0): Write: Reg: 0x0000184C, Data: 0x00000000 (II) NOUVEAU(0): Write: Reg: 0x00000200, Data: 0x01100000 (II) NOUVEAU(0): Write: Reg: 0x00000200, Data: 0x05110111 (II) NOUVEAU(0): Write: Reg: 0x0000184C, Data: 0x00000000 (I...