.. | .. |
---|
38 | 38 | __u64 value; /* in (set_param), out (get_param) */ |
---|
39 | 39 | }; |
---|
40 | 40 | |
---|
41 | | -#define OMAP_BO_SCANOUT 0x00000001 /* scanout capable (phys contiguous) */ |
---|
42 | | -#define OMAP_BO_CACHE_MASK 0x00000006 /* cache type mask, see cache modes */ |
---|
43 | | -#define OMAP_BO_TILED_MASK 0x00000f00 /* tiled mapping mask, see tiled modes */ |
---|
| 41 | +/* Scanout buffer, consumable by DSS */ |
---|
| 42 | +#define OMAP_BO_SCANOUT 0x00000001 |
---|
44 | 43 | |
---|
45 | | -/* cache modes */ |
---|
46 | | -#define OMAP_BO_CACHED 0x00000000 /* default */ |
---|
47 | | -#define OMAP_BO_WC 0x00000002 /* write-combine */ |
---|
48 | | -#define OMAP_BO_UNCACHED 0x00000004 /* strongly-ordered (uncached) */ |
---|
| 44 | +/* Buffer CPU caching mode: cached, write-combining or uncached. */ |
---|
| 45 | +#define OMAP_BO_CACHED 0x00000000 |
---|
| 46 | +#define OMAP_BO_WC 0x00000002 |
---|
| 47 | +#define OMAP_BO_UNCACHED 0x00000004 |
---|
| 48 | +#define OMAP_BO_CACHE_MASK 0x00000006 |
---|
49 | 49 | |
---|
50 | | -/* tiled modes */ |
---|
| 50 | +/* Use TILER for the buffer. The TILER container unit can be 8, 16 or 32 bits. */ |
---|
51 | 51 | #define OMAP_BO_TILED_8 0x00000100 |
---|
52 | 52 | #define OMAP_BO_TILED_16 0x00000200 |
---|
53 | 53 | #define OMAP_BO_TILED_32 0x00000300 |
---|
54 | | -#define OMAP_BO_TILED (OMAP_BO_TILED_8 | OMAP_BO_TILED_16 | OMAP_BO_TILED_32) |
---|
| 54 | +#define OMAP_BO_TILED_MASK 0x00000f00 |
---|
55 | 55 | |
---|
56 | 56 | union omap_gem_size { |
---|
57 | 57 | __u32 bytes; /* (for non-tiled formats) */ |
---|