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()
112 enum pipe pipe = to_intel_crtc(crtc)->pipe; in vlv_psr_setup_vsc() local
116 val = I915_READ(VLV_VSCSDP(pipe)); in vlv_psr_setup_vsc()
119 I915_WRITE(VLV_VSCSDP(pipe), val); in vlv_psr_setup_vsc()
224 enum pipe pipe = to_intel_crtc(crtc)->pipe; in vlv_psr_enable_source() local
227 I915_WRITE(VLV_PSRCTL(pipe), in vlv_psr_enable_source()
239 enum pipe pipe = to_intel_crtc(crtc)->pipe; in vlv_psr_activate() local
246 I915_WRITE(VLV_PSRCTL(pipe), I915_READ(VLV_PSRCTL(pipe)) | in vlv_psr_activate()
446 if (wait_for((I915_READ(VLV_PSRSTAT(intel_crtc->pipe)) & in vlv_psr_disable()
450 val = I915_READ(VLV_PSRCTL(intel_crtc->pipe)); in vlv_psr_disable()
454 I915_WRITE(VLV_PSRCTL(intel_crtc->pipe), val); in vlv_psr_disable()
458 WARN_ON(vlv_is_psr_active_on_pipe(dev, intel_crtc->pipe)); in vlv_psr_disable()
518 enum pipe pipe = to_intel_crtc(crtc)->pipe; in intel_psr_work() local
532 if (wait_for((I915_READ(VLV_PSRSTAT(pipe)) & in intel_psr_work()
562 enum pipe pipe = to_intel_crtc(crtc)->pipe; in intel_psr_exit() local
575 val = I915_READ(VLV_PSRCTL(pipe)); in intel_psr_exit()
585 I915_WRITE(VLV_PSRCTL(pipe), val); in intel_psr_exit()
616 enum pipe pipe; in intel_psr_single_frame_update() local
633 pipe = to_intel_crtc(crtc)->pipe; in intel_psr_single_frame_update()
635 if (frontbuffer_bits & INTEL_FRONTBUFFER_ALL_MASK(pipe)) { in intel_psr_single_frame_update()
636 val = I915_READ(VLV_PSRCTL(pipe)); in intel_psr_single_frame_update()
642 I915_WRITE(VLV_PSRCTL(pipe), val | VLV_EDP_PSR_SINGLE_FRAME_UPDATE); in intel_psr_single_frame_update()
664 enum pipe pipe; in intel_psr_invalidate() local
673 pipe = to_intel_crtc(crtc)->pipe; in intel_psr_invalidate()
675 frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe); in intel_psr_invalidate()
702 enum pipe pipe; in intel_psr_flush() local
712 pipe = to_intel_crtc(crtc)->pipe; in intel_psr_flush()
714 frontbuffer_bits &= INTEL_FRONTBUFFER_ALL_MASK(pipe); in intel_psr_flush()