Lines Matching refs:cursor
1049 /* cursor SR */
1067 /* cursor HPLL off SR */
1091 const struct intel_watermark_params *cursor,
1103 *cursor_wm = cursor->guard_size;
1123 /* Use the large buffer method to calculate cursor watermark */
1127 tlb_miss = cursor->fifo_size*cursor->cacheline_size - hdisplay * 8;
1130 entries = DIV_ROUND_UP(entries, cursor->cacheline_size);
1131 *cursor_wm = entries + cursor->guard_size;
1132 if (*cursor_wm > (int)cursor->max_wm)
1133 *cursor_wm = (int)cursor->max_wm;
1148 const struct intel_watermark_params *cursor)
1150 DRM_DEBUG_KMS("SR watermark: display plane %d, cursor %d\n",
1159 if (cursor_wm > cursor->max_wm) {
1160 DRM_DEBUG_KMS("cursor watermark is too large(%d/%ld), disabling\n",
1161 cursor_wm, cursor->max_wm);
1177 const struct intel_watermark_params *cursor,
1209 /* calculate the self-refresh watermark for display cursor */
1211 entries = DIV_ROUND_UP(entries, cursor->cacheline_size);
1212 *cursor_wm = entries + cursor->guard_size;
1216 display, cursor);
1243 entries = (clock / 1000) * 4; /* BPP is always 4 for cursor */
1330 DRM_DEBUG_KMS("Setting FIFO watermarks - A: plane=%d, cursor=%d, B: plane=%d, cursor=%d, SR: plane=%d, cursor=%d\n",
1379 DRM_DEBUG_KMS("Setting FIFO watermarks - A: plane=%d, cursor=%d, B: plane=%d, cursor=%d, SR: plane=%d, cursor=%d\n",
1441 "cursor %d\n", srwm, cursor_sr);
1459 /* update cursor SR watermark */
1610 const struct intel_watermark_params *cursor)
1615 " cursor %d\n", level, display_wm, fbc_wm, cursor_wm);
1633 if (cursor_wm > cursor->max_wm) {
1634 DRM_DEBUG_KMS("cursor watermark(%d) is too large(%d), disabling wm%d+\n",
1653 const struct intel_watermark_params *cursor,
1691 /* calculate the self-refresh watermark for display cursor */
1693 entries = DIV_ROUND_UP(entries, cursor->cacheline_size);
1694 *cursor_wm = entries + cursor->guard_size;
1698 display, cursor);
1717 " plane %d, " "cursor: %d\n",
1731 " plane %d, cursor: %d\n",
1802 " plane %d, " "cursor: %d\n",
1816 " plane %d, cursor: %d\n",
1831 " plane %d, cursor: %d\n",
2106 * surface width = hdisplay for normal plane and 64 for cursor