Home
last modified time | relevance | path

Searched refs:pixels_1 (Results 1 – 3 of 3) sorted by relevance

/drivers/gpu/drm/mgag200/
Dmgag200_cursor.c25 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()
[all …]
Dmgag200_main.c243 &mdev->cursor.pixels_1); in mgag200_driver_load()
246 if (!mdev->cursor.pixels_2 || !mdev->cursor.pixels_1) { in mgag200_driver_load()
247 mdev->cursor.pixels_1 = NULL; in mgag200_driver_load()
252 mdev->cursor.pixels_current = mdev->cursor.pixels_1; in mgag200_driver_load()
Dmgag200_drv.h161 struct mgag200_bo *pixels_1; member