summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/core/subdev/devinit/priv.h
blob: 7d622e2b01712508259e1f4436e0284543da7435 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef __NVKM_DEVINIT_PRIV_H__
#define __NVKM_DEVINIT_PRIV_H__

#include <subdev/bios.h>
#include <subdev/bios/pll.h>
#include <subdev/clock/pll.h>
#include <subdev/devinit.h>

void nv04_devinit_dtor(struct nouveau_object *);
int  nv04_devinit_init(struct nouveau_object *);
int  nv04_devinit_fini(struct nouveau_object *, bool);
int  nv04_devinit_pll_set(struct nouveau_devinit *, u32, u32);

void setPLL_single(struct nouveau_devinit *, u32, struct nouveau_pll_vals *);
void setPLL_double_highregs(struct nouveau_devinit *, u32, struct nouveau_pll_vals *);
void setPLL_double_lowregs(struct nouveau_devinit *, u32, struct nouveau_pll_vals *);


struct nv50_devinit_priv {
	struct nouveau_devinit base;
};

int  nv50_devinit_init(struct nouveau_object *);

#endif