drm/i915: Fix pipe enabled mask for pipe C in WM calculations
Subsystems (2)
PATCH 1/1 drm/i915: Fix pipe enabled mask for pipe C in WM calculations
From: Ville Syrjälä <[email protected]>
--- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_pm.c +1 -1
@@ -1943,7 +1943,7 @@ static void ivybridge_update_wm(struct drm_device *dev)DRM_DEBUG_KMS ("FIFO watermarks For pipe C -" " plane %d, cursor: %d\n" , plane_wm, cursor_wm); - enabled |=3 ; + enabled |=4 ; }/*
Signature · 1 line
1.8.1.5
Quoted 3 lines · On Wed, Mar 20, 2013 at 09:51:05PM +0200, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
One of the stable rules is that patches should fix real issues. So can you please hunt through bugzillas quickly and feed this to relevant bug reports?
-Daniel
Quoted 25 lines
Signed-off-by Ville Syrjälä <[email protected]>--- drivers/gpu/drm/i915/intel_pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_pm.c +1
-1@@ -1943,7 +1943,7 @@ static void ivybridge_update_wm(struct drm_device *dev)DRM_DEBUG_KMS ("FIFO watermarks For pipe C -" " plane %d, cursor: %d\n" , plane_wm, cursor_wm); - enabled |=3 ; + enabled |=4 ; }/* Signature · 6 lines
1.8.1.5 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Chris Wilson
Reviewed-byQuoted 8 lines · Daniel Vetter
Quoted 3 lines · On Wed, Mar 20, 2013 at 09:51:05PM +0200, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
One of the stable rules is that patches should fix real issues. So can you please hunt through bugzillas quickly and feed this to relevant bug reports?
It would take an astute user to notice that his machine was not using a lower power self-refresh FIFO mode. And the number of machines that only set up the third pipe is going to be small, so the impact minor. It will not fix any of the three pipe issues we have open, for example.
The patch is correct, though had I used enabled |= 1 << PIPE_[ABC] it would have probably prevented this bug.
-Chris
Signature · 1 line
Chris Wilson, Intel Open Source Technology Centre
Quoted 6 lines · Chris Wilson
Quoted 5 lines · Daniel Vetter
Quoted 3 lines · On Wed, Mar 20, 2013 at 09:51:05PM +0200, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
Quoted 8 lines
Quoted 3 lines
One of the stable rules is that patches should fix real issues. So can you please hunt through bugzillas quickly and feed this to relevant bug reports?
It would take an astute user to notice that his machine was not using a lower power self-refresh FIFO mode. And the number of machines that only set up the third pipe is going to be small, so the impact minor. It will not fix any of the three pipe issues we have open, for example.
Ah, lazy me didn't read the docs. Low power fifo mode is indeed hard to report in a bug ;-)
Quoted 2 lines
The patch is correct, though had I used enabled |= 1 << PIPE_[ABC] it would have probably prevented this bug.
This would be quite a bit less magic I think. Can I have it, please? -Daniel
Quoted 1 line
Reviewed-by Chris Wilson <[email protected]>
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch
Quoted 15 lines · On Wed, 20 Mar 2013 22:39:33 +0000 Chris Wilson <[email protected]>…
Quoted 8 lines · Daniel Vetter
Quoted 3 lines · On Wed, Mar 20, 2013 at 09:51:05PM +0200, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
One of the stable rules is that patches should fix real issues. So can you please hunt through bugzillas quickly and feed this to relevant bug reports?
It would take an astute user to notice that his machine was not using a lower power self-refresh FIFO mode. And the number of machines that only set up the third pipe is going to be small, so the impact minor. It will not fix any of the three pipe issues we have open, for example.
Quoted 4 lines
The patch is correct, though had I used enabled |= 1 << PIPE_[ABC] it would have probably prevented this bug.
Reviewed-by Chris Wilson <[email protected]>
My fault; I had to merge the initial 3 pipe code after Chris changed this and added the enabled bitfield. I remember complaining about it at the time, I must have been feeling passive-aggressive and snuck the bug in. :)
Signature · 5 lines
Jesse Barnes, Intel Open Source Technology Center _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx