]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: rip out intel_crtc->dpms_mode
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 3 Jul 2012 11:19:00 +0000 (13:19 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 06:00:00 +0000 (08:00 +0200)
commit984502fe6444874223baa15adeb63a1d85521c95
tree2da737d5fcb6b415f85aaf5bedc1a33e4f624017
parent25137a3a595f7e2545ba5a8ec6a3e45df3488bae
drm/i915: rip out intel_crtc->dpms_mode

Afaict this has been used for two things:
- To prevent the crtc enable code from being run twice. We have now
  intel_crtc->active to track this in a more precise way.
- To ensure the code copes correctly with the unknown hw state after
  boot and resume. Thanks to the hw state readout and sanitize code we
  have now a better way to handle this.

The only thing it still does is complicate our modeset state space.

Having outlived its usefullness, let it just die.

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/i915/intel_drv.h