ramnv40.h 332 B

123456789101112131415
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. #ifndef __NV40_FB_RAM_H__
  3. #define __NV40_FB_RAM_H__
  4. #define nv40_ram(p) container_of((p), struct nv40_ram, base)
  5. #include "ram.h"
  6. struct nv40_ram {
  7. struct nvkm_ram base;
  8. u32 ctrl;
  9. u32 coef;
  10. };
  11. int nv40_ram_new_(struct nvkm_fb *fb, enum nvkm_ram_type, u64,
  12. struct nvkm_ram **);
  13. #endif