diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-07-02 05:43:47 -0400 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-09-06 01:57:45 -0400 |
commit | 08a48469691a1b9ed6ee92e726b66d4e59ffc253 (patch) | |
tree | db372ecdebb2e3f7e57c8c7b6985205c077a2ec6 /drivers/gpu/drm/i915/i915_ioc32.c | |
parent | dbf2b54e78c6976af1f92cd370055a777ae99208 (diff) |
drm/i915: WARN when trying to enabled an unused crtc
This is the first tiny step towards cross-checking the entire modeset
state machine with WARNs. A crtc can only be enabled when it's
actually in use, i.e. crtc->active imlies crtc->enabled.
Unfortunately we can't (yet) check this when disabling the crtc,
because the crtc helpers are a bit slopy with updating state and
unconditionally update crtc->enabled before changing the hw state.
Fixing that requires quite some more work.
Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_ioc32.c')
0 files changed, 0 insertions, 0 deletions