]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: don't preserve inherited configs with nothing on v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Wed, 12 Feb 2014 23:03:40 +0000 (15:03 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 13 Feb 2014 10:52:44 +0000 (11:52 +0100)
commit1480227736775ebaa0ddbcc31f57c0a92ce78055
tree6550b15fe54668b182736d330db1cb3d3889f010
parent4bed0a998204dfce3f7425958bbd34f3f8eb4b63
drm/i915: don't preserve inherited configs with nothing on v2

It can be corrected later and may be what was actually desired, but
generally isn't, so if we find nothing is enabled, let the core DRM fb
helper figure something out.

v2: free the array too (Jesse)

Note that this also undoes any changes in case we bail out due to hw
cloning.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fbdev.c