]> rtime.felk.cvut.cz Git - linux-imx.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)
commit84bb65bded92028a6c803fef332586fedbe092b2
tree2da737d5fcb6b415f85aaf5bedc1a33e4f624017
parent0a91ca29215a41760cca03999498959d0e05d9b3
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