drm/i915: don't save all the encoder/crtc state in set_config
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 5 Jul 2012 14:20:48 +0000 (16:20 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 6 Sep 2012 06:02:40 +0000 (08:02 +0200)
We actually only touch the connector -> encoder and encoder -> crtc
linking. So it's enough to just save/restore that.

While at it, also switch to kcalloc to allocate these arrays (omission
in the commit message spotted by Jesse Barnes).

Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found