nouveau: remove a hack that's not needed since the last interface change.
parent
5bd0e52dba
commit
1b3a6d4775
|
@ -96,8 +96,6 @@
|
||||||
#define NV10_PGRAPH_CTX_CACHE4 0x004001C0
|
#define NV10_PGRAPH_CTX_CACHE4 0x004001C0
|
||||||
#define NV04_PGRAPH_CTX_CACHE4 0x004001E0
|
#define NV04_PGRAPH_CTX_CACHE4 0x004001E0
|
||||||
#define NV10_PGRAPH_CTX_CACHE5 0x004001E0
|
#define NV10_PGRAPH_CTX_CACHE5 0x004001E0
|
||||||
#define NV40_PGRAPH_UNK220 0x00400220
|
|
||||||
# define NV40_PGRAPH_UNK220_FB_INSTANCE 0xFFFFFFFF
|
|
||||||
#define NV03_PGRAPH_ABS_X_RAM 0x00400400
|
#define NV03_PGRAPH_ABS_X_RAM 0x00400400
|
||||||
#define NV03_PGRAPH_ABS_Y_RAM 0x00400480
|
#define NV03_PGRAPH_ABS_Y_RAM 0x00400480
|
||||||
#define NV03_PGRAPH_X_MISC 0x00400500
|
#define NV03_PGRAPH_X_MISC 0x00400500
|
||||||
|
|
|
@ -924,15 +924,6 @@ nv40_graph_init(drm_device_t *dev)
|
||||||
/* No context present currently */
|
/* No context present currently */
|
||||||
NV_WRITE(0x40032C, 0x00000000);
|
NV_WRITE(0x40032C, 0x00000000);
|
||||||
|
|
||||||
/* No idea what this is for.. */
|
|
||||||
dev_priv->fb_obj = nouveau_dma_object_create(dev,
|
|
||||||
NV_CLASS_DMA_IN_MEMORY,
|
|
||||||
0, nouveau_mem_fb_amount(dev),
|
|
||||||
NV_DMA_ACCESS_RW, NV_DMA_TARGET_VIDMEM);
|
|
||||||
pg0220_inst = nouveau_chip_instance_get(dev,
|
|
||||||
dev_priv->fb_obj->instance);
|
|
||||||
NV_WRITE(NV40_PGRAPH_UNK220, pg0220_inst);
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue