Op 12-05-15 om 12:03 schreef Daniel Vetter: > On Mon, May 11, 2015 at 4:25 PM, Maarten Lankhorst > <maarten.lankho...@linux.intel.com> wrote: >> @@ -11953,16 +11930,14 @@ check_shared_dpll_state(struct drm_device *dev) >> >> for_each_intel_crtc(dev, crtc) { >> if (crtc->base.state->active && >> intel_crtc_to_shared_dpll(crtc) == pll) >> - enabled_crtcs++; >> - if (crtc->active && intel_crtc_to_shared_dpll(crtc) >> == pll) >> active_crtcs++; >> } >> I915_STATE_WARN(pll->active != active_crtcs, >> "pll active crtcs mismatch (expected %i, found %i)\n", >> pll->active, active_crtcs); >> - I915_STATE_WARN(hweight32(pll->config.crtc_mask) != >> enabled_crtcs, >> + I915_STATE_WARN(hweight32(pll->config.crtc_mask) != >> active_crtcs, >> "pll enabled crtcs mismatch (expected %i, found %i)\n", >> - hweight32(pll->config.crtc_mask), enabled_crtcs); >> + hweight32(pll->config.crtc_mask), active_crtcs); > > Missed one: Why do you remove this? Imo that's a fairly crucial > consistency check. > -Daniel It's not removed, but crtc->active is the same as crtc->base.state->active now. The check still works as intended. :-) _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx
- Re: [Intel-gfx] [PATCH 16/42] drm/i915: Remove usag... Daniel Vetter
- [Intel-gfx] [PATCH 24/42] drm/i915: Remove use of crtc-&... Maarten Lankhorst
- [Intel-gfx] [PATCH 06/42] drm/i915: get rid of new_crtc Maarten Lankhorst
- Re: [Intel-gfx] [PATCH 06/42] drm/i915: get rid of ... Daniel Vetter
- Re: [Intel-gfx] [PATCH 06/42] drm/i915: get rid... Maarten Lankhorst
- [Intel-gfx] [PATCH 29/42] drm/i915: Remove use of crtc-&... Maarten Lankhorst
- [Intel-gfx] [PATCH 14/42] drm/i915: Make __intel_set_mod... Maarten Lankhorst
- [Intel-gfx] [PATCH 33/42] drm/i915: remove crtc->acti... Maarten Lankhorst
- Re: [Intel-gfx] [PATCH 33/42] drm/i915: remove crtc... Daniel Vetter
- Re: [Intel-gfx] [PATCH 33/42] drm/i915: remove crtc... Daniel Vetter
- Re: [Intel-gfx] [PATCH 33/42] drm/i915: remove ... Maarten Lankhorst
- Re: [Intel-gfx] [PATCH 33/42] drm/i915: rem... Daniel Vetter
- Re: [Intel-gfx] [PATCH 33/42] drm/i915:... Daniel Stone
- Re: [Intel-gfx] [PATCH 33/42] drm/... Daniel Vetter
- [Intel-gfx] [PATCH 22/42] drm/i915: Pass old state to cr... Maarten Lankhorst
- Re: [Intel-gfx] [PATCH 22/42] drm/i915: Pass old st... Daniel Vetter
- [Intel-gfx] [PATCH 42/42] drm/i915: return early in __in... Maarten Lankhorst
- [Intel-gfx] [PATCH 40/42] drm/i915: Move cdclk and pll s... Maarten Lankhorst
- [Intel-gfx] [PATCH 21/42] drm/i915: Remove use of crtc-&... Maarten Lankhorst
- Re: [Intel-gfx] [PATCH 21/42] drm/i915: Remove use ... Daniel Vetter
- [Intel-gfx] [PATCH 17/42] drm/i915: Remove use of crtc-&... Maarten Lankhorst