Re: [Intel-gfx] [PATCH] drm/i915: Update state before setting watermarks.

2016-02-29 Thread Ander Conselvan De Oliveira
On Wed, 2016-02-24 at 14:54 +0100, Maarten Lankhorst wrote: > When intel_update_watermarks is called on skylake it inspects > crtc->state, which should show as disabled. This wasn't the case, > and this resulted in a divide-by-zero in > skl_ddb_get_pipe_allocation_limits when

Re: [Intel-gfx] [PATCH] drm/i915: Update state before setting watermarks.

2016-02-24 Thread Tvrtko Ursulin
On 24/02/16 13:54, Maarten Lankhorst wrote: When intel_update_watermarks is called on skylake it inspects crtc->state, which should show as disabled. This wasn't the case, and this resulted in a divide-by-zero in skl_ddb_get_pipe_allocation_limits when intel_update_watermarks was called.

[Intel-gfx] [PATCH] drm/i915: Update state before setting watermarks.

2016-02-24 Thread Maarten Lankhorst
When intel_update_watermarks is called on skylake it inspects crtc->state, which should show as disabled. This wasn't the case, and this resulted in a divide-by-zero in skl_ddb_get_pipe_allocation_limits when intel_update_watermarks was called. [ cut here ] WARNING: CPU: