Lines Matching defs:cursor

39  *    01/2003 - Version 0.4.0: fbcon HW cursor support added.  (David Dawes)
62 * cursor are disabled on this platform. (David Dawes)
68 * cursor are disabled on this platform. (David Dawes)
90 * Fix HW accel and HW cursor on i845G
154 struct fb_cursor *cursor);
249 MODULE_PARM_DESC(hwcursor, "Enable HW cursor");
604 /* Allocate space for the ring buffer and HW cursor if enabled. */
610 dinfo->cursor.size = HW_CURSOR_SIZE;
636 dinfo->cursor.offset = offset +
641 + (dinfo->cursor.size >> 12);
692 agp_allocate_memory(bridge, dinfo->cursor.size >> 12,
694 ERR_MSG("cannot allocate cursor memory\n");
700 dinfo->cursor.offset)) {
701 ERR_MSG("cannot bind cursor memory\n");
707 dinfo->cursor.physical
710 dinfo->cursor.physical = dinfo->aperture.physical
711 + (dinfo->cursor.offset << 12);
712 dinfo->cursor.virtual = dinfo->aperture.virtual
713 + (dinfo->cursor.offset << 12);
755 DBG_MSG("HW cursor: 0x%x/0x%x (0x%p) (offset 0x%x) (phys 0x%x)\n",
756 dinfo->cursor.physical, dinfo->cursor.size,
757 dinfo->cursor.virtual, dinfo->cursor.offset,
758 dinfo->cursor.physical);
1543 static int intelfb_cursor(struct fb_info *info, struct fb_cursor *cursor)
1556 /* If XFree killed the cursor - restore it */
1557 physical = (dinfo->mobile || IS_I9XX(dinfo)) ? dinfo->cursor.physical :
1558 (dinfo->cursor.offset << 12);
1563 DBG_MSG("the cursor was killed - restore it !!\n");
1565 cursor->image.width, cursor->image.height,
1566 cursor->image.dx, cursor->image.dy);
1570 intelfbhw_cursor_setpos(dinfo, cursor->image.dx,
1571 cursor->image.dy);
1574 fg =dinfo->pseudo_palette[cursor->image.fg_color];
1575 bg =dinfo->pseudo_palette[cursor->image.bg_color];
1577 fg = cursor->image.fg_color;
1578 bg = cursor->image.bg_color;
1581 intelfbhw_cursor_load(dinfo, cursor->image.width,
1582 cursor->image.height,
1585 if (cursor->enable)
1590 if (cursor->set & FB_CUR_SETPOS) {
1593 dx = cursor->image.dx - info->var.xoffset;
1594 dy = cursor->image.dy - info->var.yoffset;
1599 if (cursor->set & FB_CUR_SETSIZE) {
1600 if (cursor->image.width > 64 || cursor->image.height > 64)
1606 if (cursor->set & FB_CUR_SETCMAP) {
1610 fg = dinfo->pseudo_palette[cursor->image.fg_color];
1611 bg = dinfo->pseudo_palette[cursor->image.bg_color];
1613 fg = cursor->image.fg_color;
1614 bg = cursor->image.bg_color;
1620 if (cursor->set & (FB_CUR_SETSHAPE | FB_CUR_SETIMAGE)) {
1621 u32 s_pitch = (ROUND_UP_TO(cursor->image.width, 8) / 8);
1622 u32 size = s_pitch * cursor->image.height;
1623 u8 *dat = (u8 *) cursor->image.data;
1624 u8 *msk = (u8 *) cursor->mask;
1628 if (cursor->image.depth != 1)
1631 switch (cursor->rop) {
1644 make the cursor dirty */
1647 intelfbhw_cursor_load(dinfo, cursor->image.width,
1648 cursor->image.height, src);
1651 if (cursor->enable)