summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/nouveau/nvkm/subdev/clock/nva3.h
blob: a45a1038b12fbe8f6ffec100734b1a7d40e95b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef __NVKM_CLK_NVA3_H__
#define __NVKM_CLK_NVA3_H__

#include <subdev/clock.h>

struct nva3_clock_info {
	u32 clk;
	u32 pll;
	enum {
		NVA3_HOST_277,
		NVA3_HOST_CLK,
	} host_out;
	u32 fb_delay;
};

int nva3_pll_info(struct nouveau_clock *, int, u32, u32,
		    struct nva3_clock_info *);
int nva3_clock_pre(struct nouveau_clock *clk, unsigned long *flags);
void nva3_clock_post(struct nouveau_clock *clk, unsigned long *flags);
#endif