Lines Matching refs:i830

36 #include "i830.h"
359 * This is shared between i830 through i965.
489 I830Ptr i830 = I830PTR(scrn);
492 if (!scrn->vtSema || !i830->have_gem) {
500 if (i830->kernel_exec_fencing) {
501 if (bo->size < i830->max_gtt_map_size) {
521 pixmap->devPrivate.ptr = i830->FbBase + bo->offset;
537 I830Ptr i830 = I830PTR(scrn);
539 if (bo == i830->front_buffer->bo)
540 i830->need_flush = TRUE;
542 if (!scrn->vtSema || !i830->have_gem) {
548 if (i830->kernel_exec_fencing)
549 if (bo->size < i830->max_gtt_map_size)
563 I830Ptr i830 = I830PTR(scrn);
565 if (i830->need_flush) {
566 dri_bo_wait_rendering (i830->front_buffer->bo);
567 i830->need_flush = FALSE;
587 I830Ptr i830 = I830PTR(scrn);
613 pitch_align = i830->accel_pixmap_pitch_alignment;
632 stride = i830_get_fence_pitch(i830, stride, tiling);
639 size = i830_get_fence_size(i830, stride * aligned_h);
659 bo = drm_intel_bo_alloc(i830->bufmgr, "pixmap", size, 0);
661 bo = drm_intel_bo_alloc_for_render(i830->bufmgr, "pixmap", size, 0);
694 I830Ptr i830 = I830PTR(scrn);
695 dri_bo *bo = i830->front_buffer->bo;
708 I830Ptr i830 = I830PTR(scrn);
717 i830->uxa_driver = uxa_driver_alloc();
718 if (i830->uxa_driver == NULL)
721 memset(i830->uxa_driver, 0, sizeof(*i830->uxa_driver));
723 i830->bufferOffset = 0;
724 i830->uxa_driver->uxa_major = 1;
725 i830->uxa_driver->uxa_minor = 0;
728 i830->uxa_driver->prepare_solid = i830_uxa_prepare_solid;
729 i830->uxa_driver->solid = i830_uxa_solid;
730 i830->uxa_driver->done_solid = i830_uxa_done_solid;
733 i830->uxa_driver->prepare_copy = i830_uxa_prepare_copy;
734 i830->uxa_driver->copy = i830_uxa_copy;
735 i830->uxa_driver->done_copy = i830_uxa_done_copy;
738 if (!IS_I9XX(i830)) {
739 i830->uxa_driver->check_composite = i830_check_composite;
740 i830->uxa_driver->prepare_composite = i830_prepare_composite;
741 i830->uxa_driver->composite = i830_composite;
742 i830->uxa_driver->done_composite = i830_done_composite;
743 } else if (IS_I915G(i830) || IS_I915GM(i830) ||
744 IS_I945G(i830) || IS_I945GM(i830) || IS_G33CLASS(i830))
746 i830->uxa_driver->check_composite = i915_check_composite;
747 i830->uxa_driver->prepare_composite = i915_prepare_composite;
748 i830->uxa_driver->composite = i915_composite;
749 i830->uxa_driver->done_composite = i830_done_composite;
751 i830->uxa_driver->check_composite = i965_check_composite;
752 i830->uxa_driver->prepare_composite = i965_prepare_composite;
753 i830->uxa_driver->composite = i965_composite;
754 i830->uxa_driver->done_composite = i830_done_composite;
757 i830->uxa_driver->prepare_access = i830_uxa_prepare_access;
758 i830->uxa_driver->finish_access = i830_uxa_finish_access;
759 i830->uxa_driver->pixmap_is_offscreen = i830_uxa_pixmap_is_offscreen;
761 if(!uxa_driver_init(pScreen, i830->uxa_driver)) {
764 xfree(i830->uxa_driver);
771 uxa_set_fallback_debug(pScreen, i830->fallback_debug);