1 
2 #ifndef __NV50_TRANSFER_H__
3 #define __NV50_TRANSFER_H__
4 
5 #include "pipe/p_state.h"
6 
7 struct nv50_m2mf_rect {
8    struct nouveau_bo *bo;
9    uint32_t base;
10    unsigned domain;
11    uint32_t pitch;
12    uint32_t width;
13    uint32_t x;
14    uint32_t height;
15    uint32_t y;
16    uint16_t depth;
17    uint16_t z;
18    uint16_t tile_mode;
19    uint16_t cpp;
20 };
21 
22 void
23 nv50_m2mf_rect_setup(struct nv50_m2mf_rect *rect,
24                      struct pipe_resource *restrict res, unsigned l,
25                      unsigned x, unsigned y, unsigned z);
26 
27 #endif
28