]> 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)
commit821e9920e5ba83a98d97c51b6d0062022097faaf
tree6550b15fe54668b182736d330db1cb3d3889f010
parentfd1e815a659fb412b83aab186191259d3ad79290
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