drm/i915: fix modeset devname allocation + agp init return check.
authorDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 06:35:02 +0000 (16:35 +1000)
committerDave Airlie <airlied@linux.ie>
Mon, 29 Dec 2008 08:18:19 +0000 (18:18 +1000)
commitaa5966296675a5092505f68d72563d5939a92353
tree9653e7a7674a2cf668fe0e33ba789a6a45f84ca5
parentaad87dff5acb232666932e750318ec1fdb716e79
drm/i915: fix modeset devname allocation + agp init return check.

devname needs to be allocated before the irq is installed, so the
irq routines get the correct name in /proc.

Also check the return value from the AGP init function, and
fixup the exit points.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/i915/i915_dma.c