#include "nouveau_drv.h"
#include "hw.h"
#include <subdev/bios/pll.h>
#include <nvif/timer.h>
#define CHIPSET_NFORCE …
#define CHIPSET_NFORCE2 …
void
NVWriteVgaSeq(struct drm_device *dev, int head, uint8_t index, uint8_t value)
{ … }
uint8_t
NVReadVgaSeq(struct drm_device *dev, int head, uint8_t index)
{ … }
void
NVWriteVgaGr(struct drm_device *dev, int head, uint8_t index, uint8_t value)
{ … }
uint8_t
NVReadVgaGr(struct drm_device *dev, int head, uint8_t index)
{ … }
void
NVSetOwner(struct drm_device *dev, int owner)
{ … }
void
NVBlankScreen(struct drm_device *dev, int head, bool blank)
{ … }
static void
nouveau_hw_decode_pll(struct drm_device *dev, uint32_t reg1, uint32_t pll1,
uint32_t pll2, struct nvkm_pll_vals *pllvals)
{ … }
int
nouveau_hw_get_pllvals(struct drm_device *dev, enum nvbios_pll_type plltype,
struct nvkm_pll_vals *pllvals)
{ … }
int
nouveau_hw_pllvals_to_clk(struct nvkm_pll_vals *pv)
{ … }
int
nouveau_hw_get_clock(struct drm_device *dev, enum nvbios_pll_type plltype)
{ … }
static void
nouveau_hw_fix_bad_vpll(struct drm_device *dev, int head)
{ … }
static void nouveau_vga_font_io(struct drm_device *dev,
void __iomem *iovram,
bool save, unsigned plane)
{ … }
void
nouveau_hw_save_vga_fonts(struct drm_device *dev, bool save)
{ … }
static void
rd_cio_state(struct drm_device *dev, int head,
struct nv04_crtc_reg *crtcstate, int index)
{ … }
static void
wr_cio_state(struct drm_device *dev, int head,
struct nv04_crtc_reg *crtcstate, int index)
{ … }
static void
nv_save_state_ramdac(struct drm_device *dev, int head,
struct nv04_mode_state *state)
{ … }
static void
nv_load_state_ramdac(struct drm_device *dev, int head,
struct nv04_mode_state *state)
{ … }
static void
nv_save_state_vga(struct drm_device *dev, int head,
struct nv04_mode_state *state)
{ … }
static void
nv_load_state_vga(struct drm_device *dev, int head,
struct nv04_mode_state *state)
{ … }
static void
nv_save_state_ext(struct drm_device *dev, int head,
struct nv04_mode_state *state)
{ … }
static void
nv_load_state_ext(struct drm_device *dev, int head,
struct nv04_mode_state *state)
{ … }
static void
nv_save_state_palette(struct drm_device *dev, int head,
struct nv04_mode_state *state)
{ … }
void
nouveau_hw_load_state_palette(struct drm_device *dev, int head,
struct nv04_mode_state *state)
{ … }
void nouveau_hw_save_state(struct drm_device *dev, int head,
struct nv04_mode_state *state)
{ … }
void nouveau_hw_load_state(struct drm_device *dev, int head,
struct nv04_mode_state *state)
{ … }