Lines Matching refs:cursor
282 if (plane->cursor.base != base || in i845_update_cursor()
283 plane->cursor.size != size || in i845_update_cursor()
284 plane->cursor.cntl != cntl) { in i845_update_cursor()
291 plane->cursor.base = base; in i845_update_cursor()
292 plane->cursor.size = size; in i845_update_cursor()
293 plane->cursor.cntl = cntl; in i845_update_cursor()
544 if (plane->cursor.base != base || in i9xx_update_cursor()
545 plane->cursor.size != fbc_ctl || in i9xx_update_cursor()
546 plane->cursor.cntl != cntl) { in i9xx_update_cursor()
554 plane->cursor.base = base; in i9xx_update_cursor()
555 plane->cursor.size = fbc_ctl; in i9xx_update_cursor()
556 plane->cursor.cntl = cntl; in i9xx_update_cursor()
755 struct intel_plane *cursor; in intel_cursor_plane_create() local
758 cursor = intel_plane_alloc(); in intel_cursor_plane_create()
759 if (IS_ERR(cursor)) in intel_cursor_plane_create()
760 return cursor; in intel_cursor_plane_create()
762 cursor->pipe = pipe; in intel_cursor_plane_create()
763 cursor->i9xx_plane = (enum i9xx_plane_id) pipe; in intel_cursor_plane_create()
764 cursor->id = PLANE_CURSOR; in intel_cursor_plane_create()
765 cursor->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, cursor->id); in intel_cursor_plane_create()
768 cursor->max_stride = i845_cursor_max_stride; in intel_cursor_plane_create()
769 cursor->update_plane = i845_update_cursor; in intel_cursor_plane_create()
770 cursor->disable_plane = i845_disable_cursor; in intel_cursor_plane_create()
771 cursor->get_hw_state = i845_cursor_get_hw_state; in intel_cursor_plane_create()
772 cursor->check_plane = i845_check_cursor; in intel_cursor_plane_create()
774 cursor->max_stride = i9xx_cursor_max_stride; in intel_cursor_plane_create()
775 cursor->update_plane = i9xx_update_cursor; in intel_cursor_plane_create()
776 cursor->disable_plane = i9xx_disable_cursor; in intel_cursor_plane_create()
777 cursor->get_hw_state = i9xx_cursor_get_hw_state; in intel_cursor_plane_create()
778 cursor->check_plane = i9xx_check_cursor; in intel_cursor_plane_create()
781 cursor->cursor.base = ~0; in intel_cursor_plane_create()
782 cursor->cursor.cntl = ~0; in intel_cursor_plane_create()
785 cursor->cursor.size = ~0; in intel_cursor_plane_create()
787 ret = drm_universal_plane_init(&dev_priv->drm, &cursor->base, in intel_cursor_plane_create()
798 drm_plane_create_rotation_property(&cursor->base, in intel_cursor_plane_create()
804 drm_plane_create_zpos_immutable_property(&cursor->base, zpos); in intel_cursor_plane_create()
807 drm_plane_enable_fb_damage_clips(&cursor->base); in intel_cursor_plane_create()
809 intel_plane_helper_add(cursor); in intel_cursor_plane_create()
811 return cursor; in intel_cursor_plane_create()
814 intel_plane_free(cursor); in intel_cursor_plane_create()