2019-06-20 00:13:43 +00:00
|
|
|
/* SPDX-License-Identifier: MIT */
|
2015-08-20 04:54:14 +00:00
|
|
|
#ifndef __NV40_FB_RAM_H__
|
|
|
|
#define __NV40_FB_RAM_H__
|
|
|
|
#define nv40_ram(p) container_of((p), struct nv40_ram, base)
|
|
|
|
#include "ram.h"
|
|
|
|
|
|
|
|
struct nv40_ram {
|
|
|
|
struct nvkm_ram base;
|
|
|
|
u32 ctrl;
|
|
|
|
u32 coef;
|
|
|
|
};
|
|
|
|
|
2017-10-31 17:56:19 +00:00
|
|
|
int nv40_ram_new_(struct nvkm_fb *fb, enum nvkm_ram_type, u64,
|
2015-08-20 04:54:14 +00:00
|
|
|
struct nvkm_ram **);
|
|
|
|
#endif
|