Lines Matching refs:PLANE_CURSOR
2848 skl_ddb_entry_init_from_hw(&ddb->plane[pipe][PLANE_CURSOR], in skl_ddb_get_hw_state()
2918 memset(&ddb->plane[pipe][PLANE_CURSOR], 0, in skl_allocate_pipe_ddb()
2919 sizeof(ddb->plane[pipe][PLANE_CURSOR])); in skl_allocate_pipe_ddb()
2924 ddb->plane[pipe][PLANE_CURSOR].start = alloc->end - cursor_blocks; in skl_allocate_pipe_ddb()
2925 ddb->plane[pipe][PLANE_CURSOR].end = alloc->end; in skl_allocate_pipe_ddb()
3064 if (memcmp(&new_ddb->plane[pipe][PLANE_CURSOR], &cur_ddb->plane[pipe][PLANE_CURSOR], in skl_ddb_allocation_changed()
3065 sizeof(new_ddb->plane[pipe][PLANE_CURSOR]))) in skl_ddb_allocation_changed()
3125 p->plane[PLANE_CURSOR].y_bytes_per_pixel = 0; in skl_compute_wm_pipe_parameters()
3127 p->plane[PLANE_CURSOR].enabled = true; in skl_compute_wm_pipe_parameters()
3128 p->plane[PLANE_CURSOR].bytes_per_pixel = fb->bits_per_pixel / 8; in skl_compute_wm_pipe_parameters()
3129 p->plane[PLANE_CURSOR].horiz_pixels = crtc->cursor->state->crtc_w; in skl_compute_wm_pipe_parameters()
3130 p->plane[PLANE_CURSOR].vert_pixels = crtc->cursor->state->crtc_h; in skl_compute_wm_pipe_parameters()
3132 p->plane[PLANE_CURSOR].enabled = false; in skl_compute_wm_pipe_parameters()
3133 p->plane[PLANE_CURSOR].bytes_per_pixel = 0; in skl_compute_wm_pipe_parameters()
3134 p->plane[PLANE_CURSOR].horiz_pixels = 64; in skl_compute_wm_pipe_parameters()
3135 p->plane[PLANE_CURSOR].vert_pixels = 64; in skl_compute_wm_pipe_parameters()
3249 ddb_blocks = skl_ddb_entry_size(&ddb->plane[pipe][PLANE_CURSOR]); in skl_compute_wm_level()
3250 result->plane_en[PLANE_CURSOR] = skl_compute_plane_wm(dev_priv, p, in skl_compute_wm_level()
3251 &p->plane[PLANE_CURSOR], in skl_compute_wm_level()
3253 &result->plane_res_b[PLANE_CURSOR], in skl_compute_wm_level()
3254 &result->plane_res_l[PLANE_CURSOR]); in skl_compute_wm_level()
3282 trans_wm->plane_en[PLANE_CURSOR] = false; in skl_compute_transition_wm()
3331 temp |= p_wm->wm[level].plane_res_l[PLANE_CURSOR] << PLANE_WM_LINES_SHIFT; in skl_compute_wm_results()
3332 temp |= p_wm->wm[level].plane_res_b[PLANE_CURSOR]; in skl_compute_wm_results()
3334 if (p_wm->wm[level].plane_en[PLANE_CURSOR]) in skl_compute_wm_results()
3337 r->plane[pipe][PLANE_CURSOR][level] = temp; in skl_compute_wm_results()
3353 temp |= p_wm->trans_wm.plane_res_l[PLANE_CURSOR] << PLANE_WM_LINES_SHIFT; in skl_compute_wm_results()
3354 temp |= p_wm->trans_wm.plane_res_b[PLANE_CURSOR]; in skl_compute_wm_results()
3355 if (p_wm->trans_wm.plane_en[PLANE_CURSOR]) in skl_compute_wm_results()
3358 r->plane_trans[pipe][PLANE_CURSOR] = temp; in skl_compute_wm_results()
3392 new->plane[pipe][PLANE_CURSOR][level]); in skl_write_wm_values()
3398 new->plane_trans[pipe][PLANE_CURSOR]); in skl_write_wm_values()
3410 &new->ddb.plane[pipe][PLANE_CURSOR]); in skl_write_wm_values()
3625 watermarks->plane_trans[pipe][PLANE_CURSOR] = 0; in skl_clear_wm()
3633 memset(&watermarks->ddb.plane[pipe][PLANE_CURSOR], 0, in skl_clear_wm()
3790 active->wm[level].plane_en[PLANE_CURSOR] = is_enabled; in skl_pipe_wm_active_state()
3791 active->wm[level].plane_res_b[PLANE_CURSOR] = in skl_pipe_wm_active_state()
3793 active->wm[level].plane_res_l[PLANE_CURSOR] = in skl_pipe_wm_active_state()
3806 active->trans_wm.plane_en[PLANE_CURSOR] = is_enabled; in skl_pipe_wm_active_state()
3807 active->trans_wm.plane_res_b[PLANE_CURSOR] = in skl_pipe_wm_active_state()
3809 active->trans_wm.plane_res_l[PLANE_CURSOR] = in skl_pipe_wm_active_state()
3835 hw->plane[pipe][PLANE_CURSOR][level] = I915_READ(CUR_WM(pipe, level)); in skl_pipe_wm_get_hw_state()
3840 hw->plane_trans[pipe][PLANE_CURSOR] = I915_READ(CUR_WM_TRANS(pipe)); in skl_pipe_wm_get_hw_state()
3855 temp = hw->plane[pipe][PLANE_CURSOR][level]; in skl_pipe_wm_get_hw_state()
3864 temp = hw->plane_trans[pipe][PLANE_CURSOR]; in skl_pipe_wm_get_hw_state()