| /xsrc/external/mit/libdrm/dist/tests/tegra/ |
| H A D | vic.h | 123 struct vic; 126 int (*fill)(struct vic *vic, struct vic_image *output, 131 int (*blit)(struct vic *vic, struct vic_image *output, 133 int (*flip)(struct vic *vic, struct vic_image *output, 135 int (*execute)(struct vic *vic, 141 void (*free)(struct vic *vi 144 struct vic { struct [all...] |
| H A D | vic-blit.c | 32 #include "vic.h" 35 static int clear(struct vic *vic, struct drm_tegra_channel *channel, argument 55 err = vic_clear(vic, output, 1023, 1023, 0, 0); 67 err = vic->ops->execute(vic, pushbuf, &ptr, output, NULL, 0); 73 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt, 104 static int fill(struct vic *vic, struct drm_tegra_channel *channel, argument 130 err = vic 174 blit(struct vic * vic,struct drm_tegra_channel * channel,struct vic_image * output,struct vic_image * input) argument 252 struct vic *vic; local in function:main [all...] |
| H A D | vic-flip.c | 32 #include "vic.h" 35 static int clear(struct vic *vic, struct drm_tegra_channel *channel, argument 61 err = vic_clear(vic, output, 1023, 0, 0, 1023); 67 err = vic->ops->execute(vic, pushbuf, &ptr, output, NULL, 0); 73 err = drm_tegra_pushbuf_sync_cond(pushbuf, &ptr, vic->syncpt, 104 static int fill(struct vic *vic, struct drm_tegra_channel *channel, argument 130 err = vic 174 flip(struct vic * vic,struct drm_tegra_channel * channel,struct vic_image * output,struct vic_image * input) argument 252 struct vic *vic; local in function:main [all...] |
| H A D | vic.c | 31 #include "vic.h" 50 int vic_image_new(struct vic *vic, unsigned int width, unsigned int height, argument 83 err = drm_tegra_bo_new(vic->drm, 0, image->size, &image->bo); 89 err = drm_tegra_channel_map(vic->channel, image->bo, flags, &image->map); 135 struct vic **vicp); 139 struct vic **vicp); 143 struct vic **vicp); 147 struct vic **vicp); 150 struct vic **vic 173 vic_free(struct vic * vic) argument 179 vic_clear(struct vic * vic,struct vic_image * output,unsigned int alpha,unsigned int red,unsigned int green,unsigned int blue) argument [all...] |
| H A D | vic41.c | 28 #include "vic.h" 32 struct vic base; 45 static int vic41_fill(struct vic *v, struct vic_image *output, 51 struct vic41 *vic = container_of(v, struct vic41, base); local in function:vic41_fill 55 err = drm_tegra_bo_map(vic->config.bo, (void **)&c); 83 drm_tegra_bo_unmap(vic->config.bo); 88 static int vic41_blit(struct vic *v, struct vic_image *output, 91 struct vic41 *vic = container_of(v, struct vic41, base); local in function:vic41_blit 97 err = drm_tegra_bo_map(vic->config.bo, (void **)&c); 152 drm_tegra_bo_unmap(vic 160 struct vic41 *vic = container_of(v, struct vic41, base); local in function:vic41_flip 231 struct vic41 *vic = container_of(v, struct vic41, base); local in function:vic41_execute 256 struct vic41 *vic = container_of(v, struct vic41, base); local in function:vic41_free 280 struct vic41 *vic; local in function:vic41_new [all...] |
| H A D | vic42.c | 28 #include "vic.h" 32 struct vic base; 45 static int vic42_fill(struct vic *v, struct vic_image *output, 51 struct vic42 *vic = container_of(v, struct vic42, base); local in function:vic42_fill 55 err = drm_tegra_bo_map(vic->config.bo, (void **)&c); 83 drm_tegra_bo_unmap(vic->config.bo); 88 static int vic42_blit(struct vic *v, struct vic_image *output, 91 struct vic42 *vic = container_of(v, struct vic42, base); local in function:vic42_blit 97 err = drm_tegra_bo_map(vic->config.bo, (void **)&c); 152 drm_tegra_bo_unmap(vic 160 struct vic42 *vic = container_of(v, struct vic42, base); local in function:vic42_flip 231 struct vic42 *vic = container_of(v, struct vic42, base); local in function:vic42_execute 256 struct vic42 *vic = container_of(v, struct vic42, base); local in function:vic42_free 280 struct vic42 *vic; local in function:vic42_new [all...] |
| H A D | vic40.c | 28 #include "vic.h" 32 struct vic base; 45 static int vic40_fill(struct vic *v, struct vic_image *output, 51 struct vic40 *vic = container_of(v, struct vic40, base); local in function:vic40_fill 55 err = drm_tegra_bo_map(vic->config.bo, (void **)&c); 83 drm_tegra_bo_unmap(vic->config.bo); 88 static int vic40_blit(struct vic *v, struct vic_image *output, 91 struct vic40 *vic = container_of(v, struct vic40, base); local in function:vic40_blit 97 err = drm_tegra_bo_map(vic->config.bo, (void **)&c); 152 drm_tegra_bo_unmap(vic 160 struct vic40 *vic = container_of(v, struct vic40, base); local in function:vic40_flip 231 struct vic40 *vic = container_of(v, struct vic40, base); local in function:vic40_execute 252 struct vic40 *vic = container_of(v, struct vic40, base); local in function:vic40_free 276 struct vic40 *vic; local in function:vic40_new [all...] |
| H A D | vic30.c | 28 #include "vic.h" 32 struct vic base; 50 static int vic30_fill(struct vic *v, struct vic_image *output, 56 struct vic30 *vic = container_of(v, struct vic30, base); local in function:vic30_fill 60 err = drm_tegra_bo_map(vic->config.bo, (void **)&c); 97 drm_tegra_bo_unmap(vic->config.bo); 102 static int vic30_blit(struct vic *v, struct vic_image *output, 105 struct vic30 *vic = container_of(v, struct vic30, base); local in function:vic30_blit 115 err = drm_tegra_bo_map(vic->config.bo, (void **)&c); 205 drm_tegra_bo_unmap(vic 213 struct vic30 *vic = container_of(v, struct vic30, base); local in function:vic30_flip 323 struct vic30 *vic = container_of(v, struct vic30, base); local in function:vic30_execute 345 struct vic30 *vic = container_of(v, struct vic30, base); local in function:vic30_free 372 struct vic30 *vic; local in function:vic30_new [all...] |
| H A D | vic-clear.c | 34 #include "vic.h" 50 struct vic *vic; local in function:main 80 err = vic_new(drm, channel, &vic); 86 err = vic_image_new(vic, width, height, format, kind, DRM_TEGRA_CHANNEL_MAP_READ_WRITE, 125 err = vic_clear(vic, output, 1023, 0, 0, 1023); 131 err = vic->ops->execute(vic, pushbuf, &pb, output, NULL, 0); 137 err = drm_tegra_pushbuf_sync_cond(pushbuf, &pb, vic->syncpt, 167 vic_free(vic); [all...] |