Lines Matching refs:pipe
64 static bool vlv_is_psr_active_on_pipe(struct drm_device *dev, int pipe) in vlv_is_psr_active_on_pipe() argument
69 val = I915_READ(VLV_PSRSTAT(pipe)) & in vlv_is_psr_active_on_pipe()
110 enum pipe pipe = to_intel_crtc(crtc)->pipe; in vlv_psr_setup_vsc() local
114 val = I915_READ(VLV_VSCSDP(pipe)); in vlv_psr_setup_vsc()
117 I915_WRITE(VLV_VSCSDP(pipe), val); in vlv_psr_setup_vsc()
204 enum pipe pipe = to_intel_crtc(crtc)->pipe; in vlv_psr_enable_source() local
207 I915_WRITE(VLV_PSRCTL(pipe), in vlv_psr_enable_source()
219 enum pipe pipe = to_intel_crtc(crtc)->pipe; in vlv_psr_activate() local
226 I915_WRITE(VLV_PSRCTL(pipe), I915_READ(VLV_PSRCTL(pipe)) | in vlv_psr_activate()
407 if (wait_for((I915_READ(VLV_PSRSTAT(intel_crtc->pipe)) & in vlv_psr_disable()
411 val = I915_READ(VLV_PSRCTL(intel_crtc->pipe)); in vlv_psr_disable()
415 I915_WRITE(VLV_PSRCTL(intel_crtc->pipe), val); in vlv_psr_disable()
419 WARN_ON(vlv_is_psr_active_on_pipe(dev, intel_crtc->pipe)); in vlv_psr_disable()
479 enum pipe pipe = to_intel_crtc(crtc)->pipe; in intel_psr_work() local
493 if (wait_for((I915_READ(VLV_PSRSTAT(pipe)) & in intel_psr_work()
523 enum pipe pipe = to_intel_crtc(crtc)->pipe; in intel_psr_exit() local
536 val = I915_READ(VLV_PSRCTL(pipe)); in intel_psr_exit()
546 I915_WRITE(VLV_PSRCTL(pipe), val); in intel_psr_exit()
579 enum pipe pipe; in intel_psr_invalidate() local
588 pipe = to_intel_crtc(crtc)->pipe; in intel_psr_invalidate()
592 frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe); in intel_psr_invalidate()
615 enum pipe pipe; in intel_psr_flush() local
624 pipe = to_intel_crtc(crtc)->pipe; in intel_psr_flush()
634 (frontbuffer_bits & INTEL_FRONTBUFFER_SPRITE(pipe))) in intel_psr_flush()