Lines Matching refs:PLANE_CURSOR
2834 skl_ddb_entry_init_from_hw(&ddb->plane[pipe][PLANE_CURSOR], in skl_ddb_get_hw_state()
2904 memset(&ddb->plane[pipe][PLANE_CURSOR], 0, in skl_allocate_pipe_ddb()
2905 sizeof(ddb->plane[pipe][PLANE_CURSOR])); in skl_allocate_pipe_ddb()
2910 ddb->plane[pipe][PLANE_CURSOR].start = alloc->end - cursor_blocks; in skl_allocate_pipe_ddb()
2911 ddb->plane[pipe][PLANE_CURSOR].end = alloc->end; in skl_allocate_pipe_ddb()
3050 if (memcmp(&new_ddb->plane[pipe][PLANE_CURSOR], &cur_ddb->plane[pipe][PLANE_CURSOR], in skl_ddb_allocation_changed()
3051 sizeof(new_ddb->plane[pipe][PLANE_CURSOR]))) in skl_ddb_allocation_changed()
3111 p->plane[PLANE_CURSOR].y_bytes_per_pixel = 0; in skl_compute_wm_pipe_parameters()
3113 p->plane[PLANE_CURSOR].enabled = true; in skl_compute_wm_pipe_parameters()
3114 p->plane[PLANE_CURSOR].bytes_per_pixel = fb->bits_per_pixel / 8; in skl_compute_wm_pipe_parameters()
3115 p->plane[PLANE_CURSOR].horiz_pixels = crtc->cursor->state->crtc_w; in skl_compute_wm_pipe_parameters()
3116 p->plane[PLANE_CURSOR].vert_pixels = crtc->cursor->state->crtc_h; in skl_compute_wm_pipe_parameters()
3118 p->plane[PLANE_CURSOR].enabled = false; in skl_compute_wm_pipe_parameters()
3119 p->plane[PLANE_CURSOR].bytes_per_pixel = 0; in skl_compute_wm_pipe_parameters()
3120 p->plane[PLANE_CURSOR].horiz_pixels = 64; in skl_compute_wm_pipe_parameters()
3121 p->plane[PLANE_CURSOR].vert_pixels = 64; in skl_compute_wm_pipe_parameters()
3235 ddb_blocks = skl_ddb_entry_size(&ddb->plane[pipe][PLANE_CURSOR]); in skl_compute_wm_level()
3236 result->plane_en[PLANE_CURSOR] = skl_compute_plane_wm(dev_priv, p, in skl_compute_wm_level()
3237 &p->plane[PLANE_CURSOR], in skl_compute_wm_level()
3239 &result->plane_res_b[PLANE_CURSOR], in skl_compute_wm_level()
3240 &result->plane_res_l[PLANE_CURSOR]); in skl_compute_wm_level()
3268 trans_wm->plane_en[PLANE_CURSOR] = false; in skl_compute_transition_wm()
3317 temp |= p_wm->wm[level].plane_res_l[PLANE_CURSOR] << PLANE_WM_LINES_SHIFT; in skl_compute_wm_results()
3318 temp |= p_wm->wm[level].plane_res_b[PLANE_CURSOR]; in skl_compute_wm_results()
3320 if (p_wm->wm[level].plane_en[PLANE_CURSOR]) in skl_compute_wm_results()
3323 r->plane[pipe][PLANE_CURSOR][level] = temp; in skl_compute_wm_results()
3339 temp |= p_wm->trans_wm.plane_res_l[PLANE_CURSOR] << PLANE_WM_LINES_SHIFT; in skl_compute_wm_results()
3340 temp |= p_wm->trans_wm.plane_res_b[PLANE_CURSOR]; in skl_compute_wm_results()
3341 if (p_wm->trans_wm.plane_en[PLANE_CURSOR]) in skl_compute_wm_results()
3344 r->plane_trans[pipe][PLANE_CURSOR] = temp; in skl_compute_wm_results()
3378 new->plane[pipe][PLANE_CURSOR][level]); in skl_write_wm_values()
3384 new->plane_trans[pipe][PLANE_CURSOR]); in skl_write_wm_values()
3396 &new->ddb.plane[pipe][PLANE_CURSOR]); in skl_write_wm_values()
3611 watermarks->plane_trans[pipe][PLANE_CURSOR] = 0; in skl_clear_wm()
3619 memset(&watermarks->ddb.plane[pipe][PLANE_CURSOR], 0, in skl_clear_wm()
3776 active->wm[level].plane_en[PLANE_CURSOR] = is_enabled; in skl_pipe_wm_active_state()
3777 active->wm[level].plane_res_b[PLANE_CURSOR] = in skl_pipe_wm_active_state()
3779 active->wm[level].plane_res_l[PLANE_CURSOR] = in skl_pipe_wm_active_state()
3792 active->trans_wm.plane_en[PLANE_CURSOR] = is_enabled; in skl_pipe_wm_active_state()
3793 active->trans_wm.plane_res_b[PLANE_CURSOR] = in skl_pipe_wm_active_state()
3795 active->trans_wm.plane_res_l[PLANE_CURSOR] = in skl_pipe_wm_active_state()
3821 hw->plane[pipe][PLANE_CURSOR][level] = I915_READ(CUR_WM(pipe, level)); in skl_pipe_wm_get_hw_state()
3826 hw->plane_trans[pipe][PLANE_CURSOR] = I915_READ(CUR_WM_TRANS(pipe)); in skl_pipe_wm_get_hw_state()
3841 temp = hw->plane[pipe][PLANE_CURSOR][level]; in skl_pipe_wm_get_hw_state()
3850 temp = hw->plane_trans[pipe][PLANE_CURSOR]; in skl_pipe_wm_get_hw_state()