3 #include "nouveau_drv.h"
4 #include "nouveau_drm.h"
7 nv50_fb_init(struct drm_device
*dev
)
9 /* This is needed to get meaningful information from 100c90
10 * on traps. No idea what these values mean exactly. */
11 struct drm_nouveau_private
*dev_priv
= dev
->dev_private
;
13 switch (dev_priv
->chipset
) {
15 nv_wr32(dev
, 0x100c90, 0x0707ff);
19 nv_wr32(dev
, 0x100c90, 0x0d0fff);
22 nv_wr32(dev
, 0x100c90, 0x1d07ff);
30 nv50_fb_takedown(struct drm_device
*dev
)