HomeSort by: relevance | last modified time | path
    Searched refs:pI830 (Results 1 - 25 of 45) sorted by relevancy

1 2

  /xsrc/external/mit/xf86-video-intel-old/dist/src/
i830_ring.h 36 pI830->ring_next, (unsigned int)(n), \
37 pI830->ring.tail_mask); \
38 *(volatile uint32_t *)(pI830->ring.virtual_start + \
39 pI830->ring_next) = n; \
40 pI830->ring_used += 4; \
41 pI830->ring_next += 4; \
42 pI830->ring_next &= pI830->ring.tail_mask; \
52 if (pI830->ring_emitting == 0) \
55 if (pI830->ring_used > pI830->ring_emitting)
    [all...]
i830_batchbuffer.c 46 I830Ptr pI830 = I830PTR(pScrn);
62 I830Ptr pI830 = I830PTR(pScrn);
67 OUT_RING(bo->offset + pI830->batch_used - 4);
107 I830Ptr pI830 = I830PTR(pScrn);
110 if (IS_I865G(pI830))
111 pI830->batch_bo = dri_bo_alloc(pI830->bufmgr, "batch", 4096, 4096);
113 pI830->batch_bo = dri_bo_alloc(pI830->bufmgr, "batch", 4096 * 4, 4096);
115 if (dri_bo_map(pI830->batch_bo, 1) != 0
    [all...]
i830_batchbuffer.h 41 intel_batch_space(I830Ptr pI830)
43 return (pI830->batch_bo->size - BATCH_RESERVED) - (pI830->batch_used);
47 intel_batch_require_space(ScrnInfoPtr pScrn, I830Ptr pI830, GLuint sz)
49 assert(sz < pI830->batch_bo->size - 8);
50 if (intel_batch_space(pI830) < sz)
57 I830Ptr pI830 = I830PTR(pScrn);
59 assert(!pI830->in_batch_atomic);
60 intel_batch_require_space(pScrn, pI830, sz * 4);
62 pI830->in_batch_atomic = TRUE
    [all...]
i830_driver.c 243 I830Ptr pI830;
247 pI830 = pScrn->driverPrivate = xnfcalloc(sizeof(I830Rec), 1);
254 I830Ptr pI830;
261 pI830 = I830PTR(pScrn);
270 I830Ptr pI830 = I830PTR(pScrn);
277 if (IS_I965G(pI830)) {
304 } else if (IS_G33CLASS(pI830)) {
319 gtt_size = pI830->FbMapSize / (1024*1024);
330 if (IS_G4X(pI830) || IS_IGD(pI830) || IS_IGDNG(pI830)
    [all...]
i830_hwmc.c 52 I830Ptr pI830 = I830PTR(pScrn);
55 if (!pI830->XvMCEnabled)
58 if (pI830->use_drm_mode &&
59 (IS_I915G(pI830) || IS_I915GM(pI830)))
62 if (IS_I9XX(pI830)) {
63 if (IS_I915(pI830))
65 else if (IS_G4X(pI830) || IS_IGDNG(pI830))
86 I830Ptr pI830 = I830PTR(pScrn)
    [all...]
i830_accel.c 58 I830Ptr pI830 = I830PTR(pScrn);
60 return (unsigned long)pPix->devPrivate.ptr - (unsigned long)pI830->FbBase;
72 I830Ptr pI830 = I830PTR(pScrn);
73 I830RingBuffer *ring = &pI830->ring;
109 if (IS_I965G(pI830))
114 pI830->uxa_driver = NULL;
135 I830Ptr pI830 = I830PTR(pScrn);
140 if (!pScrn->vtSema || !pI830->batch_bo)
152 I830Ptr pI830 = I830PTR(pScrn);
155 if (IS_I965G(pI830))
    [all...]
i830_memory.c 61 * (pI830->pEnt->videoRam != 0), in which case allocations have to fit within
111 i830_get_fence_size(I830Ptr pI830, unsigned long size)
116 if (IS_I965G(pI830)) {
123 if (IS_I9XX(pI830))
140 i830_get_fence_pitch(I830Ptr pI830, unsigned long pitch, int format)
149 if (IS_I965G(pI830))
164 i830_get_fence_alignment(I830Ptr pI830, unsigned long size)
166 if (IS_I965G(pI830))
169 return i830_get_fence_size(pI830, size);
175 I830Ptr pI830 = I830PTR(pScrn)
    [all...]
i915_render.c 242 I830Ptr pI830 = I830PTR(pScrn);
250 pI830->scale_units[unit][0] = pPix->drawable.width;
251 pI830->scale_units[unit][1] = pPix->drawable.height;
294 pI830->mapstate[unit * 3 + 0] = 0; /* offset filled in at emit time */
295 pI830->mapstate[unit * 3 + 1] = format |
299 pI830->mapstate[unit * 3 + 2] = ((pitch / 4) - 1) << MS4_PITCH_SHIFT;
301 pI830->samplerstate[unit * 3 + 0] = (MIPFILTER_NONE <<
303 pI830->samplerstate[unit * 3 + 0] |= filter;
304 pI830->samplerstate[unit * 3 + 1] = SS3_NORMALIZED_COORDS;
305 pI830->samplerstate[unit * 3 + 1] |= wrap_mode << SS3_TCX_ADDR_MODE_SHIFT
    [all...]
i830_render.c 276 I830Ptr pI830 = I830PTR(pScrn);
282 pI830->scale_units[unit][0] = pPix->drawable.width;
283 pI830->scale_units[unit][1] = pPix->drawable.height;
284 pI830->transform[unit] = pPict->transform;
286 if (i830_transform_is_affine(pI830->transform[unit]))
408 I830Ptr pI830 = I830PTR(pScrn);
410 pI830->render_src_picture = pSrcPicture;
411 pI830->render_src = pSrc;
412 pI830->render_mask_picture = pMaskPicture;
413 pI830->render_mask = pMask
    [all...]
i830_cursor.c 63 I830Ptr pI830 = I830PTR(pScrn);
78 I830Ptr pI830 = I830PTR(pScrn);
84 if (!IS_I9XX(pI830))
93 if (IS_MOBILE(pI830) || IS_I9XX(pI830))
130 I830Ptr pI830 = I830PTR(crtc->scrn);
134 pcurs = (uint32_t *) (pI830->FbBase + intel_crtc->cursor_argb_offset);
145 I830Ptr pI830 = I830PTR(scrn);
178 I830Ptr pI830 = I830PTR(scrn);
187 if (IS_MOBILE(pI830) || IS_I9XX(pI830))
    [all...]
i830_bios.c 117 parse_integrated_panel_data(I830Ptr pI830, struct bdb_header *bdb)
129 pI830->lvds_dither = 0;
135 pI830->lvds_dither = lvds_options->pixel_dither;
155 if (pI830->skip_panel_detect)
165 pI830->lvds_fixed_mode = fixed_mode;
169 parse_sdvo_panel_data(I830Ptr pI830, struct bdb_header *bdb)
175 pI830->sdvo_lvds_fixed_mode = NULL;
192 pI830->sdvo_lvds_fixed_mode = fixed_mode;
197 parse_panel_data(I830Ptr pI830, struct bdb_header *bdb)
199 parse_integrated_panel_data(pI830, bdb)
    [all...]
i965_video.c 157 I830Ptr pI830 = I830PTR(pScrn);
179 I830Ptr pI830 = I830PTR(scrn);
233 I830Ptr pI830 = I830PTR(scrn);
370 I830Ptr pI830 = I830PTR(scrn);
375 if (intel_alloc_and_map(pI830, "textured video surface state", 4096,
381 if (pI830->cpp == 2) {
422 I830Ptr pI830 = I830PTR(scrn);
426 if (intel_alloc_and_map(pI830, "textured video surface state", 4096,
466 I830Ptr pI830 = I830PTR(scrn);
473 if (intel_alloc_and_map(pI830, "textured video binding table", 4096
    [all...]
i830_quirks.c 169 static void quirk_pfit_safe (I830Ptr pI830)
171 pI830->quirk_flag |= QUIRK_PFIT_SAFE;
178 static void quirk_reset_modes (I830Ptr pI830)
180 pI830->quirk_flag |= QUIRK_RESET_MODES;
183 static void quirk_pipea_force (I830Ptr pI830)
185 pI830->quirk_flag |= QUIRK_PIPEA_FORCE;
188 static void quirk_ignore_tv (I830Ptr pI830)
190 pI830->quirk_flag |= QUIRK_IGNORE_TV;
193 static void quirk_ignore_lvds (I830Ptr pI830)
195 pI830->quirk_flag |= QUIRK_IGNORE_LVDS
    [all...]
i830_lvds.c 137 I830Ptr pI830 = I830PTR(pScrn);
143 } else if (IS_I965GM(pI830) || IS_GM45(pI830)) {
153 pI830->backlight_control_method = method;
163 I830Ptr pI830 = I830PTR(pScrn);
175 I830Ptr pI830 = I830PTR(pScrn);
187 I830Ptr pI830 = I830PTR(pScrn);
191 if (IS_I965GM(pI830) || IS_GM45(pI830)) {
209 I830Ptr pI830 = I830PTR(pScrn)
    [all...]
i830_dvo.c 88 I830Ptr pI830 = I830PTR(pScrn);
109 I830Ptr pI830 = I830PTR(pScrn);
116 pI830->saveDVOA = INREG(DVOA);
117 pI830->saveDVOB = INREG(DVOB);
118 pI830->saveDVOC = INREG(DVOC);
127 I830Ptr pI830 = I830PTR(pScrn);
133 OUTREG(DVOA, pI830->saveDVOA);
134 OUTREG(DVOB, pI830->saveDVOB);
135 OUTREG(DVOC, pI830->saveDVOC);
142 I830Ptr pI830 = I830PTR(pScrn)
    [all...]
i830_crt.c 41 I830Ptr pI830 = I830PTR(pScrn);
70 I830Ptr pI830 = I830PTR(pScrn);
72 pI830->saveADPA = INREG(ADPA);
79 I830Ptr pI830 = I830PTR(pScrn);
81 OUTREG(ADPA, pI830->saveADPA);
88 I830Ptr pI830 = I830PTR(pScrn);
97 if (!IS_I9XX(pI830))
120 I830Ptr pI830 = I830PTR(pScrn);
134 if (IS_I965G(pI830))
172 I830Ptr pI830 = I830PTR(pScrn)
    [all...]
i830_display.c 412 I830Ptr pI830 = I830PTR(pScrn);
434 I830Ptr pI830 = I830PTR(pScrn);
437 if (IS_G4X(pI830)) {
439 } else if (IS_I9XX(pI830) && !IS_IGD(pI830)) {
444 } else if (IS_IGD(pI830)) {
488 static void intel_clock(I830Ptr pI830, int refclk, intel_clock_t *clock)
490 if (IS_I9XX(pI830)) {
491 if (IS_IGD(pI830))
545 I830Ptr pI830 = I830PTR(pScrn)
    [all...]
i965_render.c 631 I830Ptr pI830 = I830PTR(scrn);
635 sf_state_bo = drm_intel_bo_alloc(pI830->bufmgr, "gen4 SF state",
771 I830Ptr pI830 = I830PTR(scrn);
775 sampler_state_bo = drm_intel_bo_alloc(pI830->bufmgr, "gen4 sampler state",
844 I830Ptr pI830 = I830PTR(scrn);
848 wm_state_bo = drm_intel_bo_alloc(pI830->bufmgr, "gen4 WM state",
876 if (IS_IGDNG(pI830))
909 if (IS_IGDNG(pI830))
920 I830Ptr pI830 = I830PTR(scrn);
927 bo = drm_intel_bo_alloc(pI830->bufmgr, "gen4 render unit state"
    [all...]
i830_uxa.c 96 I830Ptr pI830 = I830PTR(pScrn);
115 if (offset == pI830->front_buffer->offset &&
116 pI830->front_buffer->tiling != TILE_NONE)
127 I830Ptr pI830 = I830PTR(pScrn);
129 if (pI830->batch_bo == NULL)
132 bo_table[0] = pI830->batch_bo;
135 bo_table[0] = pI830->batch_bo;
152 I830Ptr pI830 = I830PTR(pScrn);
154 return i830_pixmap_pitch(pixmap) % pI830->accel_pixmap_pitch_alignment == 0;
164 I830Ptr pI830 = I830PTR(pScrn)
    [all...]
i830_dri.c 87 I830Ptr pI830 = I830PTR(pScrn);
116 if (SUPPORTS_YTILING(pI830))
129 if (!pI830->tiling ||
130 (!IS_I965G(pI830) && !pI830->kernel_exec_fencing))
170 I830Ptr pI830 = I830PTR(pScrn);
194 if (SUPPORTS_YTILING(pI830))
207 if (!pI830->tiling ||
208 (!IS_I965G(pI830) && !pI830->kernel_exec_fencing)
    [all...]
i830_video.c 335 #define I830OVERLAYREG(pI830) ((I830OverlayRegPtr)\
336 ((pI830)->FbBase + \
337 (pI830)->overlay_regs->offset))
340 CompareOverlay(I830Ptr pI830, uint32_t * overlay, int size)
365 I830Ptr pI830 = I830PTR(pScrn);
371 if ((!IS_I965G(pI830) && (INREG(pipeconf_reg) & PIPEACONF_DOUBLE_WIDE))
423 I830Ptr pI830 = I830PTR(pScrn);
424 I830OverlayRegPtr overlay = I830OVERLAYREG(pI830);
425 I830PortPrivPtr pPriv = pI830->adaptor->pPortPrivates[0].ptr;
428 if (pI830->overlayOn
    [all...]
  /xsrc/external/mit/xf86-video-intel-old/dist/src/reg_dumper/
gtt.c 44 I830Ptr pI830 = &i830;
48 intel_i830rec_init(pI830);
50 if (!IS_I9XX(pI830)) {
55 if (IS_G4X(pI830) || IS_IGDNG(pI830))
56 gtt = (unsigned char *)(pI830->mmio + MB(2));
57 else if (IS_I965G(pI830))
58 gtt = (unsigned char *)(pI830->mmio + KB(512));
62 err = pci_device_map_range (pI830->PciInfo,
63 pI830->PciInfo->regions[3].base_addr
    [all...]
reg_dumper.h 50 /* Fields in common with the real pI830 */
63 I830Ptr pI830;
66 #define I830PTR(pScrn) (pScrn->pI830)
70 #define INREG8(reg) (*(volatile uint8_t *)((pI830)->mmio + (reg)))
71 #define INREG16(reg) (*(volatile uint16_t *)((pI830)->mmio + (reg)))
72 #define INREG(reg) (*(volatile uint32_t *)((pI830)->mmio + (reg)))
74 *(volatile uint8_t *)((pI830)->mmio + (reg)) = (val)
76 *(volatile uint16_t *)((pI830)->mmio + (reg)) = (val)
78 *(volatile uint32_t *)((pI830)->mmio + (reg)) = (val)
87 void intel_i830rec_init(I830Ptr pI830);
    [all...]
util.c 39 * Sets up the pI830 for use by common.h-style macros, particularly
42 void intel_i830rec_init(I830Ptr pI830)
68 pI830->PciInfo = dev;
70 mmio_bar = IS_I9XX(pI830) ? 0 : 1;
82 pI830->mmio = mmio;
statuspage.c 45 I830Ptr pI830 = &i830;
50 intel_i830rec_init(pI830);
52 if (HWS_NEED_GFX(pI830))

Completed in 77 milliseconds

1 2