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()
542 if (plane->cursor.base != base || in i9xx_update_cursor()
543 plane->cursor.size != fbc_ctl || in i9xx_update_cursor()
544 plane->cursor.cntl != cntl) { in i9xx_update_cursor()
552 plane->cursor.base = base; in i9xx_update_cursor()
553 plane->cursor.size = fbc_ctl; in i9xx_update_cursor()
554 plane->cursor.cntl = cntl; in i9xx_update_cursor()
754 struct intel_plane *cursor; in intel_cursor_plane_create() local
757 cursor = intel_plane_alloc(); in intel_cursor_plane_create()
758 if (IS_ERR(cursor)) in intel_cursor_plane_create()
759 return cursor; in intel_cursor_plane_create()
761 cursor->pipe = pipe; in intel_cursor_plane_create()
762 cursor->i9xx_plane = (enum i9xx_plane_id) pipe; in intel_cursor_plane_create()
763 cursor->id = PLANE_CURSOR; in intel_cursor_plane_create()
764 cursor->frontbuffer_bit = INTEL_FRONTBUFFER(pipe, cursor->id); in intel_cursor_plane_create()
767 cursor->max_stride = i845_cursor_max_stride; in intel_cursor_plane_create()
768 cursor->update_plane = i845_update_cursor; in intel_cursor_plane_create()
769 cursor->disable_plane = i845_disable_cursor; in intel_cursor_plane_create()
770 cursor->get_hw_state = i845_cursor_get_hw_state; in intel_cursor_plane_create()
771 cursor->check_plane = i845_check_cursor; in intel_cursor_plane_create()
773 cursor->max_stride = i9xx_cursor_max_stride; in intel_cursor_plane_create()
774 cursor->update_plane = i9xx_update_cursor; in intel_cursor_plane_create()
775 cursor->disable_plane = i9xx_disable_cursor; in intel_cursor_plane_create()
776 cursor->get_hw_state = i9xx_cursor_get_hw_state; in intel_cursor_plane_create()
777 cursor->check_plane = i9xx_check_cursor; in intel_cursor_plane_create()
780 cursor->cursor.base = ~0; in intel_cursor_plane_create()
781 cursor->cursor.cntl = ~0; in intel_cursor_plane_create()
784 cursor->cursor.size = ~0; in intel_cursor_plane_create()
786 ret = drm_universal_plane_init(&dev_priv->drm, &cursor->base, in intel_cursor_plane_create()
797 drm_plane_create_rotation_property(&cursor->base, in intel_cursor_plane_create()
803 drm_plane_create_zpos_immutable_property(&cursor->base, zpos); in intel_cursor_plane_create()
806 drm_plane_enable_fb_damage_clips(&cursor->base); in intel_cursor_plane_create()
808 intel_plane_helper_add(cursor); in intel_cursor_plane_create()
810 return cursor; in intel_cursor_plane_create()
813 intel_plane_free(cursor); in intel_cursor_plane_create()