mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-01-03 14:00:19 +01:00
nouveau: fix nv04 fifo context save to save reg contents, not reg offset
clearly the function had never been used :)
This commit is contained in:
parent
591f6bcba3
commit
6b903f5edf
1 changed files with 2 additions and 2 deletions
|
|
@ -122,8 +122,8 @@ nv04_fifo_save_context(struct nouveau_channel *chan)
|
|||
struct drm_nouveau_private *dev_priv = dev->dev_private;
|
||||
uint32_t tmp;
|
||||
|
||||
RAMFC_WR(DMA_PUT, NV04_PFIFO_CACHE1_DMA_PUT);
|
||||
RAMFC_WR(DMA_GET, NV04_PFIFO_CACHE1_DMA_GET);
|
||||
RAMFC_WR(DMA_PUT, NV_READ(NV04_PFIFO_CACHE1_DMA_PUT));
|
||||
RAMFC_WR(DMA_GET, NV_READ(NV04_PFIFO_CACHE1_DMA_GET));
|
||||
|
||||
tmp = NV_READ(NV04_PFIFO_CACHE1_DMA_DCOUNT) << 16;
|
||||
tmp |= NV_READ(NV04_PFIFO_CACHE1_DMA_INSTANCE);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue