Lines Matching refs:image

1706     drm_radeon_tex_image_t *image, int mode)
1731 * part of the texture image may be corrupted.
1748 blit_width = image->width * 4;
1758 blit_width = image->width * 2;
1764 blit_width = image->width * 1;
1771 if (spitch == 0 && image->height > 1)
1780 image->x *= 2;
1790 image->x, image->y, image->width, image->height);
1796 height = image->height;
1797 data = (const u8 __user *)image->data;
1824 image32.x = image->x;
1825 image32.y = image->y;
1826 image32.width = image->width;
1827 image32.height = image->height;
1828 image32.data = (uint32_t)(uintptr_t)image->data;
1829 DRM_COPYTO_WITH_RETURN(tex->image, &image32,
1833 DRM_COPYTO_WITH_RETURN(tex->image, image,
1834 sizeof (*image));
1867 * tex height = 1, since our actual image will have
1910 * Texture image width is larger than the
1917 * Texture image width is less than the minimum,
1918 * so we need to pad out each image scanline to
1947 OUT_RING((image->x << 16) | image->y);
1948 OUT_RING((image->width << 16) | height);
1957 image->y += height;
1958 image->height -= height;
1959 image->data = (const u8 __user *)image->data + size;
1960 } while (image->height > 0);
2530 drm_radeon_tex_image_t image;
2541 if (tex32.image == 0) {
2542 DRM_ERROR("null texture image!\n");
2546 (void *)(uintptr_t)tex32.image, sizeof (image32))) {
2556 tex.image = (void*)(uintptr_t)tex32.image;
2558 image.x = image32.x;
2559 image.y = image32.y;
2560 image.width = image32.width;
2561 image.height = image32.height;
2562 image.data = (void*)(uintptr_t)image32.data;
2567 if (tex.image == NULL) {
2570 if (DRM_COPY_FROM_USER(&image,
2571 (drm_radeon_tex_image_t *)tex.image, sizeof (image))) {
2581 ret = radeon_cp_dispatch_texture(fpriv, dev, &tex, &image, mode);