mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
drm/i915: drop redundant vblank waits
Just blows through 50ms for naught, since the pipe is off. Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
This commit is contained in:
parent
d59f9f4d68
commit
4667730163
@ -4733,8 +4733,6 @@ static int i9xx_crtc_mode_set(struct drm_crtc *crtc,
|
||||
|
||||
i9xx_set_pipeconf(intel_crtc);
|
||||
|
||||
intel_wait_for_vblank(dev, pipe);
|
||||
|
||||
I915_WRITE(DSPCNTR(plane), dspcntr);
|
||||
POSTING_READ(DSPCNTR(plane));
|
||||
|
||||
@ -5704,8 +5702,6 @@ static int ironlake_crtc_mode_set(struct drm_crtc *crtc,
|
||||
|
||||
ironlake_set_pipeconf(crtc, adjusted_mode, dither);
|
||||
|
||||
intel_wait_for_vblank(dev, pipe);
|
||||
|
||||
/* Set up the display plane register */
|
||||
I915_WRITE(DSPCNTR(plane), DISPPLANE_GAMMA_ENABLE);
|
||||
POSTING_READ(DSPCNTR(plane));
|
||||
|
Loading…
Reference in New Issue
Block a user