]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Don't use encoder->new_crtc in compute_baseline_pipe_bpp()
authorAnder Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Fri, 20 Mar 2015 14:18:09 +0000 (16:18 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 26 Mar 2015 16:49:53 +0000 (17:49 +0100)
commit1486017fbfef5441cc61c805ccace4d3dea27c80
tree5a8a779b600b819d95110b801c3001ae6e4158ab
parent0b9018793939970aad49e4e0ed21f0fd0db74e4a
drm/i915: Don't use encoder->new_crtc in compute_baseline_pipe_bpp()

Move towards atomic by using the legacy modeset's drm_atomic_state
instead.

Signed-off-by: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
[danvet: Keep the if (!connector) continue; separate so that it's
easier to eventually extract a for_each_connector_in_state iterator.
And because of the upcast it's also safer.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_display.c