Lines Matching refs:pipe
67 * DSB's can access only the pipe, plane, and transcoder Data Island Packet
123 static bool is_dsb_busy(struct drm_i915_private *i915, enum pipe pipe,
126 return intel_de_read_fw(i915, DSB_CTRL(pipe, id)) & DSB_STATUS_BUSY;
276 enum pipe pipe = crtc->pipe;
278 intel_dsb_reg_write_masked(dsb, DSB_CTRL(pipe, dsb->id),
286 enum pipe pipe = crtc->pipe;
288 intel_dsb_reg_write_masked(dsb, DSB_CTRL(pipe, dsb->id),
316 intel_dsb_reg_write_masked(dsb, DSB_PMCTRL_2(crtc->pipe, dsb->id),
360 enum pipe pipe = crtc->pipe;
367 if (is_dsb_busy(dev_priv, pipe, dsb->id)) {
373 intel_de_write_fw(dev_priv, DSB_CTRL(pipe, dsb->id),
376 intel_de_write_fw(dev_priv, DSB_CHICKEN(pipe, dsb->id),
379 intel_de_write_fw(dev_priv, DSB_HEAD(pipe, dsb->id),
387 intel_de_write_fw(dev_priv, DSB_PMCTRL(pipe, dsb->id),
396 intel_de_write_fw(dev_priv, DSB_PMCTRL_2(pipe, dsb->id),
401 intel_de_write_fw(dev_priv, DSB_TAIL(pipe, dsb->id),
424 enum pipe pipe = crtc->pipe;
426 if (wait_for(!is_dsb_busy(dev_priv, pipe, dsb->id), 1)) {
429 intel_de_write_fw(dev_priv, DSB_CTRL(pipe, dsb->id),
435 intel_de_read_fw(dev_priv, DSB_CURRENT_HEAD(pipe, dsb->id)) - offset,
436 intel_de_read_fw(dev_priv, DSB_HEAD(pipe, dsb->id)) - offset,
437 intel_de_read_fw(dev_priv, DSB_TAIL(pipe, dsb->id)) - offset);
445 intel_de_write_fw(dev_priv, DSB_CTRL(pipe, dsb->id), 0);