drm/i915: check for supported depth at fb init time
authorJesse Barnes <jbarnes@virtuousgeek.org>
Fri, 24 Jun 2011 19:19:27 +0000 (12:19 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 7 Jul 2011 20:20:54 +0000 (13:20 -0700)
commitb5626747eca6d02124544d1d69049220f1c01fb1
treeb13eca67d95818737093c1fe9feb9db6adb32a8e
parent46e484566fe4dc8a34e0ccc154e2f8b939b9ec96
drm/i915: check for supported depth at fb init time

This will catch bad fb configs earlier.

Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_display.c