commit | 1aa4b628ee63f55db96c7e820257b6e4948abb74 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Jul 05 16:20:48 2012 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Thu Sep 06 08:02:40 2012 +0200 |
tree | 3a632ba5e5f59914aab0f3c0ac3b666e9ac1eb62 | |
parent | 8d3e375e77f09174038b9bfb02b8423cbb187959 [diff] |
drm/i915: don't save all the encoder/crtc state in set_config 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>