drm/i915: split fb allocation and initialization v2
authorJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 25 Nov 2013 23:51:16 +0000 (15:51 -0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 26 Nov 2013 18:00:27 +0000 (19:00 +0100)
commit8b4f49e03901e82898540bd1189333edf9588d74
tree9545464aff6cb9fb5fdf0a926c54dd0fc4d938a5
parent67e5871be82fec1451801d448b51d9a403d1ffac
drm/i915: split fb allocation and initialization v2

If we use a stolen buffer, our probe callback shouldn't allocate a new
buffer; we should re-use the one from the BIOS instead if possible.

v2: fix locking (Jesse)

Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_fbdev.c