Lines Matching defs:i830
68 #include "i830.h"
92 {PCI_CHIP_I830_M, "i830"},
227 /* Export I830 options to i830 driver where necessary */
471 /* The GTT aperture on i830 is write-only. We could probably map the
812 i830_tiled_width(I830Ptr i830, int *width, int cpp)
819 if (i830->tiling) {
820 if (IS_I965G(i830)) {
863 I830Ptr i830 = I830PTR(scrn);
875 if (i830->front_buffer)
881 scrn->displayWidth = i830_pad_drawable_width(width, i830->cpp);
882 tiled = i830_tiled_width(i830, &scrn->displayWidth, i830->cpp);
894 old_front = i830->front_buffer;
895 i830->front_buffer = new_front;
898 scrn->fbOffset = i830->front_buffer->offset;
901 width, height, -1, -1, scrn->displayWidth * i830->cpp,
902 i830->FbBase + scrn->fbOffset);
905 i830->front_buffer->offset);
1365 I830Ptr i830 = I830PTR(scrn);
1366 struct pci_device *dev = i830->PciInfo;
1376 i830->drmSubFD = drmOpen("i915", busid);
1377 if (i830->drmSubFD == -1) {
1395 err = drmSetInterfaceVersion(i830->drmSubFD, &sv);
1399 drmClose(i830->drmSubFD);
1400 i830->drmSubFD = -1;
1407 (void)drmCommandWriteRead(i830->drmSubFD, DRM_I915_GETPARAM,
1412 drmClose(i830->drmSubFD);
1413 i830->drmSubFD = -1;
1423 I830Ptr i830 = I830PTR(scrn);
1424 if (i830 && i830->drmSubFD > 0) {
1425 drmClose(i830->drmSubFD);
1426 i830->drmSubFD = -1;