Lines Matching refs:cursor
9936 unsigned int width = intel_crtc->base.cursor->state->crtc_w; in i845_update_cursor()
9937 unsigned int height = intel_crtc->base.cursor->state->crtc_h; in i845_update_cursor()
10000 switch (intel_crtc->base.cursor->state->crtc_w) { in i9xx_update_cursor()
10011 MISSING_CASE(intel_crtc->base.cursor->state->crtc_w); in i9xx_update_cursor()
10020 if (crtc->cursor->state->rotation == BIT(DRM_ROTATE_180)) in i9xx_update_cursor()
10044 struct drm_plane_state *cursor_state = crtc->cursor->state; in intel_crtc_update_cursor()
10079 crtc->cursor->state->rotation == BIT(DRM_ROTATE_180)) { in intel_crtc_update_cursor()
13835 struct intel_plane *cursor; in intel_cursor_plane_create() local
13838 cursor = kzalloc(sizeof(*cursor), GFP_KERNEL); in intel_cursor_plane_create()
13839 if (cursor == NULL) in intel_cursor_plane_create()
13842 state = intel_create_plane_state(&cursor->base); in intel_cursor_plane_create()
13844 kfree(cursor); in intel_cursor_plane_create()
13847 cursor->base.state = &state->base; in intel_cursor_plane_create()
13849 cursor->can_scale = false; in intel_cursor_plane_create()
13850 cursor->max_downscale = 1; in intel_cursor_plane_create()
13851 cursor->pipe = pipe; in intel_cursor_plane_create()
13852 cursor->plane = pipe; in intel_cursor_plane_create()
13853 cursor->frontbuffer_bit = INTEL_FRONTBUFFER_CURSOR(pipe); in intel_cursor_plane_create()
13854 cursor->check_plane = intel_check_cursor_plane; in intel_cursor_plane_create()
13855 cursor->commit_plane = intel_commit_cursor_plane; in intel_cursor_plane_create()
13856 cursor->disable_plane = intel_disable_cursor_plane; in intel_cursor_plane_create()
13858 drm_universal_plane_init(dev, &cursor->base, 0, in intel_cursor_plane_create()
13871 drm_object_attach_property(&cursor->base.base, in intel_cursor_plane_create()
13879 drm_plane_helper_add(&cursor->base, &intel_plane_helper_funcs); in intel_cursor_plane_create()
13881 return &cursor->base; in intel_cursor_plane_create()
13906 struct drm_plane *cursor = NULL; in intel_crtc_init() local
13934 cursor = intel_cursor_plane_create(dev, pipe); in intel_crtc_init()
13935 if (!cursor) in intel_crtc_init()
13939 cursor, &intel_crtc_funcs); in intel_crtc_init()
13980 if (cursor) in intel_crtc_init()
13981 drm_plane_cleanup(cursor); in intel_crtc_init()
15640 } cursor[I915_MAX_PIPES]; member
15703 error->cursor[i].control = I915_READ(CURCNTR(i)); in intel_display_capture_error_state()
15704 error->cursor[i].position = I915_READ(CURPOS(i)); in intel_display_capture_error_state()
15705 error->cursor[i].base = I915_READ(CURBASE(i)); in intel_display_capture_error_state()
15792 err_printf(m, " CNTR: %08x\n", error->cursor[i].control); in intel_display_print_error_state()
15793 err_printf(m, " POS: %08x\n", error->cursor[i].position); in intel_display_print_error_state()
15794 err_printf(m, " BASE: %08x\n", error->cursor[i].base); in intel_display_print_error_state()