drm/mm: Don't WARN if drm_mm_reserve_node
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 7 Apr 2014 21:25:20 +0000 (23:25 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 10 Apr 2014 07:54:47 +0000 (10:54 +0300)
commit004f388559a89ac17fa4c81fb8559a6599050a4e
tree54ba44586dbcb970145d6f521748abac2f209bff
parentc39b06951f1dc2e384650288676c5b7dcc0ec92c
drm/mm: Don't WARN if drm_mm_reserve_node

Jesse's BIOS fb reconstruction code actually relies on the -ENOSPC
return value to detect overlapping framebuffers (which the bios uses
always when lighting up more than one screen). All this fanciness
happens in intel_alloc_plane_obj in intel_display.c.

Since no one else uses this we can safely remove the WARN without
repercussions.

Reported-by: Ben Widawsky <benjamin.widawsky@intel.com>
Tested-by: Ben Widawsky <ben@bwidawsk.net>
Cc: Jesse Barnes <jbarnes@virtuousgeek.org>
Cc: Dave Airlie <airlied@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/drm_mm.c