Displaying 2 results from an estimated 2 matches for "_nouveau_fifo_channel_rd32".
2012 Aug 19
1
[PATCH 08/10] drm/nouveau: use ioread32_native/iowrite32_native for fifo control registers
...ons(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/core/engine/fifo/base.c b/drivers/gpu/drm/nouveau/core/engine/fifo/base.c
index 543fcaf..bbb43c6 100644
--- a/drivers/gpu/drm/nouveau/core/engine/fifo/base.c
+++ b/drivers/gpu/drm/nouveau/core/engine/fifo/base.c
@@ -122,14 +122,14 @@ u32
_nouveau_fifo_channel_rd32(struct nouveau_object *object, u32 addr)
{
struct nouveau_fifo_chan *chan = (void *)object;
- return ((volatile u32 *)chan->user)[addr / 4];
+ return ioread32_native(chan->user + addr);
}
void
_nouveau_fifo_channel_wr32(struct nouveau_object *object, u32 addr, u32 data)
{
struct no...
2013 Dec 07
3
[Bug 72458] New: Machine freezes when launching Firefox
https://bugs.freedesktop.org/show_bug.cgi?id=72458
Priority: medium
Bug ID: 72458
Assignee: nouveau at lists.freedesktop.org
Summary: Machine freezes when launching Firefox
QA Contact: xorg-team at lists.x.org
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: konglomeratum at mpp.hu