Lines Matching refs:pixels_1
25 if (mdev->cursor.pixels_1->pin_count) in mga_hide_cursor()
26 mgag200_bo_unpin(mdev->cursor.pixels_1); in mga_hide_cursor()
39 struct mgag200_bo *pixels_1 = mdev->cursor.pixels_1; in mga_crtc_cursor_set() local
57 if (!pixels_1 || !pixels_2) { in mga_crtc_cursor_set()
69 BUG_ON(pixels_1 != pixels_current && pixels_1 != pixels_prev); in mga_crtc_cursor_set()
82 ret = mgag200_bo_reserve(pixels_1, true); in mga_crtc_cursor_set()
92 mgag200_bo_unreserve(pixels_1); in mga_crtc_cursor_set()
97 if (!pixels_1->pin_count) { in mga_crtc_cursor_set()
98 ret = mgag200_bo_pin(pixels_1, TTM_PL_FLAG_VRAM, in mga_crtc_cursor_set()
107 mgag200_bo_unpin(pixels_1); in mga_crtc_cursor_set()
217 if (pixels_prev == pixels_1) in mga_crtc_cursor_set()
228 if (mdev->cursor.pixels_1 == mdev->cursor.pixels_prev) { in mga_crtc_cursor_set()
230 mdev->cursor.pixels_current = mdev->cursor.pixels_1; in mga_crtc_cursor_set()
231 } else if (mdev->cursor.pixels_1 == mdev->cursor.pixels_current) { in mga_crtc_cursor_set()
232 mdev->cursor.pixels_prev = mdev->cursor.pixels_1; in mga_crtc_cursor_set()
247 mgag200_bo_unreserve(pixels_1); in mga_crtc_cursor_set()